OSDN Git Service

staging: rtl8723bs: removed function prototypes and made statics in core/rtw_recv.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 23 Mar 2021 12:56:30 +0000 (13:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 14:22:21 +0000 (15:22 +0100)
commit7a246f17dd3f52c46fa1caaeadb7ebb75664fb5f
treea95594f24e5ed6caa78216325a224a7008b65135
parent938d4e0305f9288c0abd3d6903547c0f1b5eba53
staging: rtl8723bs: removed function prototypes and made statics in core/rtw_recv.c

fix the following checkpatch issue:

WARNING: externs should be avoided in .c files
1190: FILE: drivers/staging/rtl8723bs/core/rtw_recv.c:1190:
+signed int validate_recv_mgnt_frame(struct adapter *padapter, union recv_frame *precv_frame);

removed function prototypes and made statics

moved two static function definitions before their usage
to make code compile

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/e40951ad0d3ba103b1551e8f2e54c7bc45563346.1616503354.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c