aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/r819xU_cmdpkt.c
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-10-16 23:53:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-16 18:51:26 -0700
commita115ee4175c3eb33f75d5ca62d417e853702c0f3 (patch)
treee1bff608ff6ab3894a90bf14d1f3d9926ea7877a /drivers/staging/rtl8192u/r819xU_cmdpkt.c
parentStaging: vt6655: Removal of Unused Function (diff)
downloadlinux-dev-a115ee4175c3eb33f75d5ca62d417e853702c0f3.tar.xz
linux-dev-a115ee4175c3eb33f75d5ca62d417e853702c0f3.zip
Staging: rtl8192u: fix functions that should not be declared extern
These functions are already marked extern in the header file drivers/staging/rtl8192u/r819xU_phy.c:1716:13: warning: function 'InitialGainOperateWorkItemCallBack' with external linkage has definition drivers/staging/rtl8192u/r819xU_cmdpkt.c:497:12: warning: function 'cmpk_message_handle_rx' with external linkage has definition Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_cmdpkt.c')
-rw-r--r--drivers/staging/rtl8192u/r819xU_cmdpkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u/r819xU_cmdpkt.c
index f40f9c895f56..7bdcbd39a3b2 100644
--- a/drivers/staging/rtl8192u/r819xU_cmdpkt.c
+++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.c
@@ -494,8 +494,8 @@ static void cmpk_handle_tx_rate_history(struct net_device *dev, u8 *pmsg)
* 05/06/2008 amy Create Version 0 porting from windows code.
*
*---------------------------------------------------------------------------*/
-extern u32 cmpk_message_handle_rx(struct net_device *dev,
- struct ieee80211_rx_stats *pstats)
+u32 cmpk_message_handle_rx(struct net_device *dev,
+ struct ieee80211_rx_stats *pstats)
{
int total_length;
u8 cmd_length, exe_cnt = 0;