aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/via-velocity.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2009-10-28 04:01:46 -0700
committerDavid S. Miller <davem@davemloft.net>2009-10-28 04:01:46 -0700
commit516b4df1ce49304c188704decf60275c72d4cae1 (patch)
tree95b2653b5d08b249bf539da17306660aedf9db8e /drivers/net/via-velocity.h
parentea84e5555a56e2013687b19b012bcf959d601128 (diff)
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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h
index 2f00c13ab50..ce894ffa7c9 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;