diff options
author | Fabio Aiuto <fabioaiuto83@gmail.com> | 2021-03-16 16:32:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-18 10:19:44 +0100 |
commit | 89fa9845be00c5df3b7bca003bd23a13bd828a18 (patch) | |
tree | 5b40c580821c5eb14a93cdd471cd2d31d40b50cb | |
parent | staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_USB_VENDOR* (diff) | |
download | wireguard-linux-89fa9845be00c5df3b7bca003bd23a13bd828a18.tar.xz wireguard-linux-89fa9845be00c5df3b7bca003bd23a13bd828a18.zip |
staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_SINGLE_RECV_BUF
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>
-rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_recv.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging/rtl8723bs/include/rtw_recv.h index 1439158829ac..58a3b918b2e7 100644 --- a/drivers/staging/rtl8723bs/include/rtw_recv.h +++ b/drivers/staging/rtl8723bs/include/rtw_recv.h @@ -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 |