]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ae5e9a5819741fc64f9830a45914ff67ddf5c36
treea95594f24e5ed6caa78216325a224a7008b65135
parentefb78d84d3f28546808a734ceb900efcd2f6f547
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