aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-velocity.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2009-10-28 07:01:46 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-28 07:01:46 -0400
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 2f00c13ab502..ce894ffa7c91 100644
--- a/drivers/net/via-velocity.h
+++ b/drivers/net/via-velocity.h
@@ -1499,8 +1499,6 @@ struct velocity_opt {
1499#define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) 1499#define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx])
1500 1500
1501struct velocity_info { 1501struct velocity_info {
1502 struct list_head list;
1503
1504 struct pci_dev *pdev; 1502 struct pci_dev *pdev;
1505 struct net_device *dev; 1503 struct net_device *dev;
1506 1504