mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_BSD_RX_USE_MBUF
remove conditional code blocks checked by unused CONFIG_BSD_RX_USE_MBUF 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/b65806d8bbbb686af247d945cc25e73234e4cbb4.1615907632.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ba961cd85e
commit
f71b544d2d
|
|
@ -317,13 +317,8 @@ struct recv_buf {
|
|||
*/
|
||||
struct recv_frame_hdr {
|
||||
struct list_head list;
|
||||
#ifndef CONFIG_BSD_RX_USE_MBUF
|
||||
struct sk_buff *pkt;
|
||||
struct sk_buff *pkt_newalloc;
|
||||
#else /* CONFIG_BSD_RX_USE_MBUF */
|
||||
struct sk_buff *pkt;
|
||||
struct sk_buff *pkt_newalloc;
|
||||
#endif /* CONFIG_BSD_RX_USE_MBUF */
|
||||
|
||||
struct adapter *adapter;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user