staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_R871X_TEST
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 16 Mar 2021 15:33:00 +0000 (16:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Mar 2021 09:19:44 +0000 (10:19 +0100)
remove conditional code blocks checked by unused
CONFIG_R871X_TEST

cleaning required in TODO file:

find and remove code blocks guarded by never set CONFIG_FOO defines

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/108837d49bfc158ba9ffa21a06c31a9a0e7fba97.1615907632.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/osdep_intf.h

index aa4337686183d524108c23caecd9c6c4055db600..5ad85416c59828330b57fe6820ac701325845d0e 100644 (file)
@@ -35,12 +35,6 @@ The protection mechanism is through the pending queue.
        struct mutex ioctl_mutex;
 };
 
-
-#ifdef CONFIG_R871X_TEST
-int rtw_start_pseudo_adhoc(struct adapter *padapter);
-int rtw_stop_pseudo_adhoc(struct adapter *padapter);
-#endif
-
 struct dvobj_priv *devobj_init(void);
 void devobj_deinit(struct dvobj_priv *pdvobj);