forked from Minki/linux
Staging: rtl8192e: Fix Sparse Warning for Static Declarations in rtllib_softmac.c
This patch fixes the following Sparse warnings in rtllib_softmac.c- drivers/staging/rtl8192e/rtllib_softmac.c:3636:12: warning: symbol 'rtllib_MgntDisconnectIBSS' was not declared. Should it be static? drivers/staging/rtl8192e/rtllib_softmac.c:3661:13: warning: symbol 'rtllib_MlmeDisassociateRequest' was not declared. Should it be static? drivers/staging/rtl8192e/rtllib_softmac.c:3687:13: warning: symbol 'rtllib_MgntDisconnectAP' was not declared. Should it be static? Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1830a6d840
commit
c5654c0bf9
@ -3633,7 +3633,7 @@ out:
|
||||
}
|
||||
EXPORT_SYMBOL(rtllib_wpa_supplicant_ioctl);
|
||||
|
||||
void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib)
|
||||
static void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib)
|
||||
{
|
||||
u8 OpMode;
|
||||
u8 i;
|
||||
@ -3658,7 +3658,7 @@ void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib)
|
||||
|
||||
}
|
||||
|
||||
void rtllib_MlmeDisassociateRequest(struct rtllib_device *rtllib, u8 *asSta,
|
||||
static void rtllib_MlmeDisassociateRequest(struct rtllib_device *rtllib, u8 *asSta,
|
||||
u8 asRsn)
|
||||
{
|
||||
u8 i;
|
||||
@ -3684,7 +3684,7 @@ void rtllib_MlmeDisassociateRequest(struct rtllib_device *rtllib, u8 *asSta,
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
rtllib_MgntDisconnectAP(
|
||||
struct rtllib_device *rtllib,
|
||||
u8 asRsn
|
||||
|
Loading…
Reference in New Issue
Block a user