OSDN Git Service

staging: rtl8188eu: make sta2sta_data_frame() static
authorMichael Straube <straube.linux@gmail.com>
Wed, 3 Apr 2019 17:07:09 +0000 (19:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:31:58 +0000 (13:31 +0200)
Function sta2sta_data_frame() is only used in rtw_recv.c.
So make it static.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c

index 3a621d5..087f6c9 100644 (file)
@@ -632,8 +632,9 @@ static void count_rx_stats(struct adapter *padapter,
        }
 }
 
-int sta2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame,
-                      struct sta_info **psta)
+static int sta2sta_data_frame(struct adapter *adapter,
+                             struct recv_frame *precv_frame,
+                             struct sta_info **psta)
 {
        int ret = _SUCCESS;
        struct rx_pkt_attrib *pattrib = &precv_frame->attrib;