diff options
-rw-r--r-- | drivers/net/benet/be_main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 74e146f470c6..b89bae029620 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c | |||
@@ -365,11 +365,6 @@ static void be_rx_eqd_update(struct be_adapter *adapter) | |||
365 | rx_eq->cur_eqd = eqd; | 365 | rx_eq->cur_eqd = eqd; |
366 | } | 366 | } |
367 | 367 | ||
368 | static struct net_device_stats *be_get_stats(struct net_device *dev) | ||
369 | { | ||
370 | return &dev->stats; | ||
371 | } | ||
372 | |||
373 | static u32 be_calc_rate(u64 bytes, unsigned long ticks) | 368 | static u32 be_calc_rate(u64 bytes, unsigned long ticks) |
374 | { | 369 | { |
375 | u64 rate = bytes; | 370 | u64 rate = bytes; |
@@ -2399,7 +2394,6 @@ static struct net_device_ops be_netdev_ops = { | |||
2399 | .ndo_open = be_open, | 2394 | .ndo_open = be_open, |
2400 | .ndo_stop = be_close, | 2395 | .ndo_stop = be_close, |
2401 | .ndo_start_xmit = be_xmit, | 2396 | .ndo_start_xmit = be_xmit, |
2402 | .ndo_get_stats = be_get_stats, | ||
2403 | .ndo_set_rx_mode = be_set_multicast_list, | 2397 | .ndo_set_rx_mode = be_set_multicast_list, |
2404 | .ndo_set_mac_address = be_mac_addr_set, | 2398 | .ndo_set_mac_address = be_mac_addr_set, |
2405 | .ndo_change_mtu = be_change_mtu, | 2399 | .ndo_change_mtu = be_change_mtu, |