From: Michael Straube Date: Wed, 3 Apr 2019 17:07:08 +0000 (+0200) Subject: staging: rtl8188eu: remove unnecessary declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7e894d1086a45c64a0d24db1034ff8d934a85158;p=linux.git staging: rtl8188eu: remove unnecessary declaration 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_recv.c b/drivers/staging/rtl8188eu/core/rtw_recv.c index b7abe8c7c8cdb..3a621d58e53da 100644 --- a/drivers/staging/rtl8188eu/core/rtw_recv.c +++ b/drivers/staging/rtl8188eu/core/rtw_recv.c @@ -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) {