diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-12-14 16:36:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-16 16:16:03 -0500 |
commit | 8f3a76769ee50a839282f70d07d5f3429524b68a (patch) | |
tree | 09f84034f51edeaf012eb15b237ec09122ce0c42 /drivers/net/cxgb4/cxgb4.h | |
parent | b1a3c2b698ec333edc86bf8b5a636162ca309870 (diff) |
cxgb4: remove a bitmap
The driver keeps a bitmap of the netdevs it registered so it knows what to
unregister later. Remove that and look at reg_state instead.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/cxgb4/cxgb4.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h index 9caf95f086e0..01d49eaa44d2 100644 --- a/drivers/net/cxgb4/cxgb4.h +++ b/drivers/net/cxgb4/cxgb4.h | |||
@@ -482,7 +482,6 @@ struct adapter { | |||
482 | void __iomem *regs; | 482 | void __iomem *regs; |
483 | struct pci_dev *pdev; | 483 | struct pci_dev *pdev; |
484 | struct device *pdev_dev; | 484 | struct device *pdev_dev; |
485 | unsigned long registered_device_map; | ||
486 | unsigned int fn; | 485 | unsigned int fn; |
487 | unsigned int flags; | 486 | unsigned int flags; |
488 | 487 | ||