summaryrefslogtreecommitdiffstats
path: root/drivers/net/bna/bna_hw.h
diff options
context:
space:
mode:
authorRasesh Mody2010-10-05 17:46:05 +0200
committerDavid S. Miller2010-10-06 05:39:39 +0200
commitb7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3 (patch)
treea50e868a3a0d6dcc9c86ca488db91f77eaa3ab56 /drivers/net/bna/bna_hw.h
parentbna: fix interrupt handling (diff)
downloadkernel-qcow2-linux-b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3.tar.gz
kernel-qcow2-linux-b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3.tar.xz
kernel-qcow2-linux-b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3.zip
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 67eb376c5c7e..806b224a4c63 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;