mirror of https://gitee.com/openkylin/linux.git
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 @@ int rtllib_wpa_supplicant_ioctl(struct rtllib_device *ieee, struct iw_point *p,
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(rtllib_wpa_supplicant_ioctl);
|
EXPORT_SYMBOL(rtllib_wpa_supplicant_ioctl);
|
||||||
|
|
||||||
void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib)
|
static void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib)
|
||||||
{
|
{
|
||||||
u8 OpMode;
|
u8 OpMode;
|
||||||
u8 i;
|
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 asRsn)
|
||||||
{
|
{
|
||||||
u8 i;
|
u8 i;
|
||||||
|
@ -3684,7 +3684,7 @@ void rtllib_MlmeDisassociateRequest(struct rtllib_device *rtllib, u8 *asSta,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
rtllib_MgntDisconnectAP(
|
rtllib_MgntDisconnectAP(
|
||||||
struct rtllib_device *rtllib,
|
struct rtllib_device *rtllib,
|
||||||
u8 asRsn
|
u8 asRsn
|
||||||
|
|
Loading…
Reference in New Issue