[PATCH RESEND 02/16] staging: rtl8188eu: unexport internal functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These are internal functions. Remove their declaration in rtw_mlme_ext.h
and make them static.

Signed-off-by: Luca Ceresoli <luca@xxxxxxxxxxxxxxxx>
Cc: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxx>
---
 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c    | 11 ++++++-----
 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h |  6 ------
 2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
index a18863de6a27..e48b9deb3909 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
@@ -2296,8 +2296,8 @@ Following are the functions to report events
 
 *****************************************************************************/
 
-void report_survey_event(struct adapter *padapter,
-			 struct recv_frame *precv_frame)
+static void report_survey_event(struct adapter *padapter,
+				struct recv_frame *precv_frame)
 {
 	struct cmd_obj *pcmd_obj;
 	u8 *pevtcmd;
@@ -2356,7 +2356,7 @@ void report_survey_event(struct adapter *padapter,
 	return;
 }
 
-void report_surveydone_event(struct adapter *padapter)
+static void report_surveydone_event(struct adapter *padapter)
 {
 	struct cmd_obj *pcmd_obj;
 	u8 *pevtcmd;
@@ -2401,7 +2401,7 @@ void report_surveydone_event(struct adapter *padapter)
 	return;
 }
 
-void report_join_res(struct adapter *padapter, int res)
+static void report_join_res(struct adapter *padapter, int res)
 {
 	struct cmd_obj *pcmd_obj;
 	u8 *pevtcmd;
@@ -2510,7 +2510,8 @@ void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsi
 	return;
 }
 
-void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx)
+static void report_add_sta_event(struct adapter *padapter,
+				 unsigned char *MacAddr, int cam_idx)
 {
 	struct cmd_obj *pcmd_obj;
 	u8 *pevtcmd;
diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h b/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
index 9093a5f94d32..76deaf16e45e 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
@@ -544,14 +544,8 @@ unsigned int is_ap_in_tkip(struct adapter *padapter);
 unsigned int is_ap_in_wep(struct adapter *padapter);
 unsigned int should_forbid_n_rate(struct adapter *padapter);
 
-void report_join_res(struct adapter *padapter, int res);
-void report_survey_event(struct adapter *padapter,
-			 struct recv_frame *precv_frame);
-void report_surveydone_event(struct adapter *padapter);
 void report_del_sta_event(struct adapter *padapter,
 			  unsigned char *addr, unsigned short reason);
-void report_add_sta_event(struct adapter *padapter, unsigned char *addr,
-			  int cam_idx);
 
 void beacon_timing_control(struct adapter *padapter);
 u8 set_tx_beacon_cmd(struct adapter *padapter);
-- 
1.9.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux