diff options
author | Behan Webster | 2014-10-29 23:42:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-30 00:33:05 +0100 |
commit | d82f0029e03d8512ac523ac2e4caa5cecb989570 (patch) | |
tree | 4caedb55c82f6f20520b94ac1ea3657ff334598e /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | staging, rtl8192e, LLVMLinux: Remove unused inline prototype (diff) | |
download | kernel-qcow2-linux-d82f0029e03d8512ac523ac2e4caa5cecb989570.tar.gz kernel-qcow2-linux-d82f0029e03d8512ac523ac2e4caa5cecb989570.tar.xz kernel-qcow2-linux-d82f0029e03d8512ac523ac2e4caa5cecb989570.zip |
staging, rtl8192e, LLVMLinux: Remove unused prototype
MgntQuery_MgntFrameTxRate is only used within rtllib_softmac.c, so it really
should be static instead of extern.
Since it is currently extern a warning is generated because a different
function of the same name is defined staticlly in ieee80211_softmac.c
Removing the incorrect extern declaration and defining the rtllib_softmac
version of this routine static fixes the warning.
Signed-off-by: Behan Webster <behanw@converseincode.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 067a45ab97dd..089a058ad2ed 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -193,7 +193,7 @@ MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee) return QueryRate; } -u8 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee) +static u8 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee) { struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; u8 rate; |