summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-12-14 22:36:52 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-16 22:16:03 +0100
commit8f3a76769ee50a839282f70d07d5f3429524b68a (patch)
tree09f84034f51edeaf012eb15b237ec09122ce0c42 /drivers/net/cxgb4/cxgb4.h
parentcxgb4: remove the name field from the adapter structure (diff)
downloadlinux-8f3a76769ee50a839282f70d07d5f3429524b68a.tar.xz
linux-8f3a76769ee50a839282f70d07d5f3429524b68a.zip
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.h1
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 {
void __iomem *regs;
struct pci_dev *pdev;
struct device *pdev_dev;
- unsigned long registered_device_map;
unsigned int fn;
unsigned int flags;