diff options
author | Miguel Oliveira <cmroliv@gmail.com> | 2014-08-01 12:54:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 17:44:01 -0400 |
commit | 1a4493c55594842fa75a91ba95c73056a29f25e6 (patch) | |
tree | 44c895e7b1a98e25a0f1161e7566d6b0481ec8b5 | |
parent | bd2dec915e0aa1280d477fd4d08e28f90df321e0 (diff) |
staging: rtl8723au: Fix static symbol sparse warning
Fix sparse warning:
drivers/staging/rtl8723au/core/rtw_efuse.c:579:5: warning: symbol 'efuse_GetCurrentSize23a' was not declared. Should it be static?
by removing efuse_GetCurrentSize23a since its never used
Signed-off-by: Miguel Oliveira <cmroliv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723au/core/rtw_efuse.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_efuse.c b/drivers/staging/rtl8723au/core/rtw_efuse.c index 345bff847352..fe092c5defa6 100644 --- a/drivers/staging/rtl8723au/core/rtw_efuse.c +++ b/drivers/staging/rtl8723au/core/rtw_efuse.c | |||
@@ -100,22 +100,6 @@ static void Efuse_PowerSwitch(struct rtw_adapter *padapter, | |||
100 | } | 100 | } |
101 | } | 101 | } |
102 | 102 | ||
103 | /*----------------------------------------------------------------------------- | ||
104 | * Function: efuse_GetCurrentSize23a | ||
105 | * | ||
106 | * Overview: Get current efuse size!!! | ||
107 | * | ||
108 | * Input: NONE | ||
109 | * | ||
110 | * Output: NONE | ||
111 | * | ||
112 | * Return: NONE | ||
113 | * | ||
114 | * Revised History: | ||
115 | * When Who Remark | ||
116 | * 11/16/2008 MHC Create Version 0. | ||
117 | * | ||
118 | *---------------------------------------------------------------------------*/ | ||
119 | u16 | 103 | u16 |
120 | Efuse_GetCurrentSize23a(struct rtw_adapter *pAdapter, u8 efuseType) | 104 | Efuse_GetCurrentSize23a(struct rtw_adapter *pAdapter, u8 efuseType) |
121 | { | 105 | { |
@@ -576,15 +560,6 @@ u16 efuse_GetMaxSize23a(struct rtw_adapter *padapter) | |||
576 | return max_size; | 560 | return max_size; |
577 | } | 561 | } |
578 | /* */ | 562 | /* */ |
579 | int efuse_GetCurrentSize23a(struct rtw_adapter *padapter, u16 *size) | ||
580 | { | ||
581 | Efuse_PowerSwitch(padapter, false, true); | ||
582 | *size = Efuse_GetCurrentSize23a(padapter, EFUSE_WIFI); | ||
583 | Efuse_PowerSwitch(padapter, false, false); | ||
584 | |||
585 | return _SUCCESS; | ||
586 | } | ||
587 | /* */ | ||
588 | int rtw_efuse_map_read23a(struct rtw_adapter *padapter, | 563 | int rtw_efuse_map_read23a(struct rtw_adapter *padapter, |
589 | u16 addr, u16 cnts, u8 *data) | 564 | u16 addr, u16 cnts, u8 *data) |
590 | { | 565 | { |