staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_SINGLE_...
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 16 Mar 2021 15:32:15 +0000 (16:32 +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_SINGLE_RECV_BUF

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/8e86b8adb1dcec67a7d437a362105bb96f370686.1615907632.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_recv.h

index 1439158..58a3b91 100644 (file)
@@ -7,13 +7,9 @@
 #ifndef _RTW_RECV_H_
 #define _RTW_RECV_H_
 
-       #ifdef CONFIG_SINGLE_RECV_BUF
-               #define NR_RECVBUFF (1)
-       #else
-               #define NR_RECVBUFF (8)
-       #endif /* CONFIG_SINGLE_RECV_BUF */
+#define NR_RECVBUFF (8)
 
-       #define NR_PREALLOC_RECV_SKB (8)
+#define NR_PREALLOC_RECV_SKB (8)
 
 #define NR_RECVFRAME 256