Paul Bolle bb263e18f4 atp: remove set_rx_mode_8012()
Building atp.o triggers this GCC warning:
    drivers/net/ethernet/realtek/atp.c: In function ‘set_rx_mode’:
    drivers/net/ethernet/realtek/atp.c:871:26: warning: ‘mc_filter[0]’ may be used uninitialized in this function [-Wuninitialized]

GCC is correct. In promiscuous mode 'mc_filter' will be used
uninitialized in set_rx_mode_8012(), which is apparently inlined into
set_rx_mode().

But it turns out set_rx_mode_8012() will never be called, since
net_local.chip_type will always be RTL8002. So we can just remove
set_rx_mode_8012() and do some related cleanups.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-03 15:43:04 -04:00
..
2012-07-24 13:54:16 -07:00
2012-08-03 20:32:31 -07:00
2012-11-03 15:43:04 -04:00
2012-09-01 22:44:13 -04:00
2012-10-18 15:34:30 -04:00
2012-11-01 12:38:31 -04:00
2012-10-02 14:37:31 -04:00
2012-10-01 18:39:45 -04:00
2012-11-03 15:24:01 -04:00
2012-10-07 07:13:01 +09:00