diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-10-28 14:01:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 14:01:46 +0300 |
commit | 516b4df1ce49304c188704decf60275c72d4cae1 (patch) | |
tree | 95b2653b5d08b249bf539da17306660aedf9db8e /drivers/net/via-velocity.h | |
parent | ea84e5555a56e2013687b19b012bcf959d601128 (diff) | |
download | linux-516b4df1ce49304c188704decf60275c72d4cae1.tar.xz |
via-velocity: Remove private device list
via-velocity maintains a list of its devices in order to determine
whether a netdev notification applies to one of them. That can be
determined simply by checking the netdev_ops pointer, so the list can
be removed.
Compile-tested only.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/via-velocity.h')
-rw-r--r-- | drivers/net/via-velocity.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h index 2f00c13ab502..ce894ffa7c91 100644 --- a/drivers/net/via-velocity.h +++ b/drivers/net/via-velocity.h @@ -1499,8 +1499,6 @@ struct velocity_opt { #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) struct velocity_info { - struct list_head list; - struct pci_dev *pdev; struct net_device *dev; |