diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-04-19 11:38:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-19 23:11:42 -0400 |
commit | ce45ee955ff53255993c9300344e6437761ce2b2 (patch) | |
tree | 48ce371a150ce6c910e301c516db8c985f0ced7e | |
parent | 985762b2df4bcb4accc29fda76fc863dd79b8b58 (diff) |
net:bna: fix compile warning of ‘bfa_ioc_smem_pgoff’ defined but not used
Fix the below compile warning:
drivers/net/bna/bfa_ioc.c:1922: warning: ‘bfa_ioc_smem_pgoff’ defined but not used
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/bna/bfa_ioc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/bna/bfa_ioc.c b/drivers/net/bna/bfa_ioc.c index ba2a4e13cf4f..fcb9bb3169e0 100644 --- a/drivers/net/bna/bfa_ioc.c +++ b/drivers/net/bna/bfa_ioc.c | |||
@@ -82,7 +82,6 @@ static void bfa_ioc_pf_fwmismatch(struct bfa_ioc *ioc); | |||
82 | static void bfa_ioc_boot(struct bfa_ioc *ioc, u32 boot_type, | 82 | static void bfa_ioc_boot(struct bfa_ioc *ioc, u32 boot_type, |
83 | u32 boot_param); | 83 | u32 boot_param); |
84 | static u32 bfa_ioc_smem_pgnum(struct bfa_ioc *ioc, u32 fmaddr); | 84 | static u32 bfa_ioc_smem_pgnum(struct bfa_ioc *ioc, u32 fmaddr); |
85 | static u32 bfa_ioc_smem_pgoff(struct bfa_ioc *ioc, u32 fmaddr); | ||
86 | static void bfa_ioc_get_adapter_serial_num(struct bfa_ioc *ioc, | 85 | static void bfa_ioc_get_adapter_serial_num(struct bfa_ioc *ioc, |
87 | char *serial_num); | 86 | char *serial_num); |
88 | static void bfa_ioc_get_adapter_fw_ver(struct bfa_ioc *ioc, | 87 | static void bfa_ioc_get_adapter_fw_ver(struct bfa_ioc *ioc, |
@@ -1923,12 +1922,6 @@ bfa_ioc_smem_pgnum(struct bfa_ioc *ioc, u32 fmaddr) | |||
1923 | return PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, fmaddr); | 1922 | return PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, fmaddr); |
1924 | } | 1923 | } |
1925 | 1924 | ||
1926 | static u32 | ||
1927 | bfa_ioc_smem_pgoff(struct bfa_ioc *ioc, u32 fmaddr) | ||
1928 | { | ||
1929 | return PSS_SMEM_PGOFF(fmaddr); | ||
1930 | } | ||
1931 | |||
1932 | /** | 1925 | /** |
1933 | * Register mailbox message handler function, to be called by common modules | 1926 | * Register mailbox message handler function, to be called by common modules |
1934 | */ | 1927 | */ |