From 1a817fdfb1d4d18c296fed3e75b0197f00210e79 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 2 Dec 2010 07:20:39 +0000 Subject: [PATCH] --- yaml --- r: 224810 b: refs/heads/master c: b27d50a9ff5cf2775b7a4daf571a0cc72d013b9c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/net/xilinx_emaclite.c | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/[refs] b/[refs] index 43c7c4dcf7f0..378edb6c0189 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e176bbc5893bef36a0909de31dea97865660a7c9 +refs/heads/master: b27d50a9ff5cf2775b7a4daf571a0cc72d013b9c diff --git a/trunk/drivers/net/xilinx_emaclite.c b/trunk/drivers/net/xilinx_emaclite.c index 2de52d18152f..de6c3086d232 100644 --- a/trunk/drivers/net/xilinx_emaclite.c +++ b/trunk/drivers/net/xilinx_emaclite.c @@ -1000,21 +1000,6 @@ static int xemaclite_close(struct net_device *dev) return 0; } -/** - * xemaclite_get_stats - Get the stats for the net_device - * @dev: Pointer to the network device - * - * This function returns the address of the 'net_device_stats' structure for the - * given network device. This structure holds usage statistics for the network - * device. - * - * Return: Pointer to the net_device_stats structure. - */ -static struct net_device_stats *xemaclite_get_stats(struct net_device *dev) -{ - return &dev->stats; -} - /** * xemaclite_send - Transmit a frame * @orig_skb: Pointer to the socket buffer to be transmitted @@ -1285,7 +1270,6 @@ static struct net_device_ops xemaclite_netdev_ops = { .ndo_start_xmit = xemaclite_send, .ndo_set_mac_address = xemaclite_set_mac_address, .ndo_tx_timeout = xemaclite_tx_timeout, - .ndo_get_stats = xemaclite_get_stats, #ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller = xemaclite_poll_controller, #endif