diff options
author | Rasesh Mody <rmody@brocade.com> | 2010-10-05 11:46:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-05 23:39:39 -0400 |
commit | b7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3 (patch) | |
tree | a50e868a3a0d6dcc9c86ca488db91f77eaa3ab56 /drivers/net/bna/bfa_ioc_ct.c | |
parent | e2fa6f2ef6e48666b78d4b0f00914b06bb19d298 (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/bfa_ioc_ct.c')
-rw-r--r-- | drivers/net/bna/bfa_ioc_ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bna/bfa_ioc_ct.c b/drivers/net/bna/bfa_ioc_ct.c index 462857cbab9b..121cfd6d48b1 100644 --- a/drivers/net/bna/bfa_ioc_ct.c +++ b/drivers/net/bna/bfa_ioc_ct.c | |||
@@ -34,7 +34,7 @@ static void bfa_ioc_ct_notify_hbfail(struct bfa_ioc *ioc); | |||
34 | static void bfa_ioc_ct_ownership_reset(struct bfa_ioc *ioc); | 34 | static void bfa_ioc_ct_ownership_reset(struct bfa_ioc *ioc); |
35 | static enum bfa_status bfa_ioc_ct_pll_init(void __iomem *rb, bool fcmode); | 35 | static enum bfa_status bfa_ioc_ct_pll_init(void __iomem *rb, bool fcmode); |
36 | 36 | ||
37 | struct bfa_ioc_hwif nw_hwif_ct; | 37 | static struct bfa_ioc_hwif nw_hwif_ct; |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * Called from bfa_ioc_attach() to map asic specific calls. | 40 | * Called from bfa_ioc_attach() to map asic specific calls. |