diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-10-28 07:01:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 07:01:46 -0400 |
commit | 516b4df1ce49304c188704decf60275c72d4cae1 (patch) | |
tree | 95b2653b5d08b249bf539da17306660aedf9db8e /drivers/net/via-velocity.h | |
parent | ea84e5555a56e2013687b19b012bcf959d601128 (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.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 { | |||
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 | ||
1501 | struct velocity_info { | 1501 | struct 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 | ||