aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/bna/bna_hw.h
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2010-10-05 15:46:05 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-05 20:39:39 -0700
commitb7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3 (patch)
treea50e868a3a0d6dcc9c86ca488db91f77eaa3ab56 /drivers/net/bna/bna_hw.h
parente2fa6f2ef6e48666b78d4b0f00914b06bb19d298 (diff)
bna: scope and dead code cleanup
As suggested by Stephen Hemminger: 1) Made functions and data structures static wherever possible. 2) Removed unused code. Signed-off-by: Debashis Dutt <ddutt@brocade.com> Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bna_hw.h')
-rw-r--r--drivers/net/bna/bna_hw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bna/bna_hw.h b/drivers/net/bna/bna_hw.h
index 67eb376c5c7..806b224a4c6 100644
--- a/drivers/net/bna/bna_hw.h
+++ b/drivers/net/bna/bna_hw.h
@@ -1282,7 +1282,6 @@ struct bna_chip_regs_offset {
u32 fn_int_mask;
u32 msix_idx;
};
-extern const struct bna_chip_regs_offset reg_offset[];
struct bna_chip_regs {
void __iomem *page_addr;