diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2023-08-21 14:52:50 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-09-21 09:29:04 +0300 |
commit | 3ffd23d121dea039ee270b1b11ba1a5e963e0ac0 (patch) | |
tree | 4ce1c032a543a0780bac680868c58de3378965e3 /drivers/net/wireless/marvell/mwifiex/sdio.h | |
parent | 74f7957c9b1b95553faaf146a2553e023a9d1720 (diff) |
wifi: mwifiex: cleanup struct mwifiex_sdio_mpa_rx
Drop filled with NULL pointers but otherwise unused 'skb_arr'
array of 'struct mwifiex_sdio_mpa_rx', adjust related code.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230821115254.167552-1-dmantipov@yandex.ru
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/sdio.h')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/sdio.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.h b/drivers/net/wireless/marvell/mwifiex/sdio.h index ae94c172310f..b86a9263a6a8 100644 --- a/drivers/net/wireless/marvell/mwifiex/sdio.h +++ b/drivers/net/wireless/marvell/mwifiex/sdio.h @@ -164,10 +164,7 @@ struct mwifiex_sdio_mpa_rx { u32 pkt_cnt; u32 ports; u16 start_port; - - struct sk_buff **skb_arr; u32 *len_arr; - u8 enabled; u32 buf_size; u32 pkt_aggr_limit; @@ -372,7 +369,6 @@ static inline void mp_rx_aggr_setup(struct sdio_mmc_card *card, else card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt + 1); } - card->mpa_rx.skb_arr[card->mpa_rx.pkt_cnt] = NULL; card->mpa_rx.len_arr[card->mpa_rx.pkt_cnt] = rx_len; card->mpa_rx.pkt_cnt++; } |