staging: rtl8188eu: remove unnecessary declaration
authorMichael Straube <straube.linux@gmail.com>
Wed, 3 Apr 2019 17:07:08 +0000 (19:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:31:58 +0000 (13:31 +0200)
The declaration of sta2sta_data_frame() is directly above
the function definition. Remove the unnecessary declaration.

This also clears a checkpatch issue.
CHECK: Lines should not end with a '('

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 b7abe8c..3a621d5 100644 (file)
@@ -632,12 +632,6 @@ static void count_rx_stats(struct adapter *padapter,
        }
 }
 
-int sta2sta_data_frame(
-       struct adapter *adapter,
-       struct recv_frame *precv_frame,
-       struct sta_info **psta
-);
-
 int sta2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame,
                       struct sta_info **psta)
 {