staging: rtl8723au: Declare validate_recv_*_frame() static
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:29 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:57 +0000 (13:11 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_recv.c

index 3791bbbdc58242c4a61ba15d6b16fa915f65f48b..76873664d432b0c77a1842ade21354f68aa96d5e 100644 (file)
@@ -1111,10 +1111,8 @@ exit:
        return ret;
 }
 
-int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
-                            struct recv_frame *precv_frame);
-int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
-                            struct recv_frame *precv_frame)
+static int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
+                                   struct recv_frame *precv_frame)
 {
 #ifdef CONFIG_8723AU_AP_MODE
        struct rx_pkt_attrib *pattrib = &precv_frame->attrib;
@@ -1259,10 +1257,8 @@ int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
 
 struct recv_frame* recvframe_chk_defrag23a(struct rtw_adapter *padapter,
                                        struct recv_frame *precv_frame);
-int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
-                            struct recv_frame *precv_frame);
-int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
-                            struct recv_frame *precv_frame)
+static int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
+                                   struct recv_frame *precv_frame)
 {
        struct sta_info *psta;
        struct sk_buff *skb;
@@ -1308,10 +1304,8 @@ int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
        return _SUCCESS;
 }
 
-int validate_recv_data_frame(struct rtw_adapter *adapter,
-                            struct recv_frame *precv_frame);
-int validate_recv_data_frame(struct rtw_adapter *adapter,
-                            struct recv_frame *precv_frame)
+static int validate_recv_data_frame(struct rtw_adapter *adapter,
+                                   struct recv_frame *precv_frame)
 {
        u8 bretry;
        u8 *psa, *pda, *pbssid;