diff mbox

[OPW,kernel,04/14] Staging: rtl8192e: Fix Sparse Warning for Static Declarations in rtllib_softmac.c

Message ID 7e046015bf276ff6823e0bbd90381b8b078c4d83.1383565836.git.rashika.kheria@gmail.com
State New, archived
Headers show

Commit Message

Rashika Nov. 4, 2013, 12:09 p.m. UTC
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 |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox


diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index 31cb858..eeec19c 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -3633,7 +3633,7 @@  out:
-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,
+static void
 	struct rtllib_device *rtllib,
 	u8 asRsn