]> git.baikalelectronics.ru Git - kernel.git/commit
ioc3-eth: Use the instance of net_device_stats from net_device.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jul 2010 02:59:38 +0000 (02:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jul 2010 02:41:12 +0000 (19:41 -0700)
commit9fbad5b965d664f9a6f442c9c98976d74ff7b820
treea7891a621e99631b61a1d65d4f8ebc20fcff737f
parent31dd4263b52e60a79045c9ec558852bbfb71fea1
ioc3-eth: Use the instance of net_device_stats from net_device.

Since net_device has an instance of net_device_stats, we can remove the
instance of this from the adapter structure.

Based on original patch by Kulikov Vasiliy.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
 drivers/net/ioc3-eth.c |   49 ++++++++++++++++++++++++-----------------------
 1 files changed, 25 insertions(+), 24 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ioc3-eth.c