[NET] loopback: minor statistics optimization
commit7fa6b06689085a3e2237cf810f5e0c114e00a2da
authorStephen Hemminger <shemminger@osdl.org>
Thu, 28 Sep 2006 03:33:34 +0000 (27 20:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:49 +0000 (28 18:02 -0700)
tree729eeef31a9ad44c0635f5e27b6c924767e17238
parent1b0fee7d68f234be6b270cda51d9fcb71bebd780
[NET] loopback: minor statistics optimization

The loopback device status structure is a singleton and doesn't
need to be allocated. Add ethtool_ops hooks to show checksum always on,
and make ethtool_ops const.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c