aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bna/cna_fwimg.c
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2010-10-05 11:46:05 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-05 23:39:39 -0400
commitb7ee31c5af7f04b67d8b8e4f3b2bcb8bcfced8a3 (patch)
treea50e868a3a0d6dcc9c86ca488db91f77eaa3ab56 /drivers/net/bna/cna_fwimg.c
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/cna_fwimg.c')
-rw-r--r--drivers/net/bna/cna_fwimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bna/cna_fwimg.c b/drivers/net/bna/cna_fwimg.c
index 0bd1d3790a27..e8f4ecd9ebb5 100644
--- a/drivers/net/bna/cna_fwimg.c
+++ b/drivers/net/bna/cna_fwimg.c
@@ -22,7 +22,7 @@ const struct firmware *bfi_fw;
22static u32 *bfi_image_ct_cna; 22static u32 *bfi_image_ct_cna;
23static u32 bfi_image_ct_cna_size; 23static u32 bfi_image_ct_cna_size;
24 24
25u32 * 25static u32 *
26cna_read_firmware(struct pci_dev *pdev, u32 **bfi_image, 26cna_read_firmware(struct pci_dev *pdev, u32 **bfi_image,
27 u32 *bfi_image_size, char *fw_name) 27 u32 *bfi_image_size, char *fw_name)
28{ 28{