]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/ethernet/atheros/atl1c/atl1c_main.c
atl1c: use net_device_stats from struct net_device
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 20 Aug 2010 02:55:16 +0000 (02:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Aug 2010 06:09:36 +0000 (23:09 -0700)
commita2c483a19a96cf5cb9465f42cca34548b9211954
tree0cbaee12e9d4e354bac5aa3d92e0cada82271f4e
parent00959ade36acadc00e757f87060bf6e4501d545f
atl1c: use net_device_stats from struct net_device

struct net_device has its own struct net_device_stats member, so use
this one instead of a private copy in the atl1c_adapter struct.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1c/atl1c.h
drivers/net/atl1c/atl1c_main.c