ath11k: Remove dead code while handling amsdu packets
PATCH 1/1 ath11k: Remove dead code while handling amsdu packets
Remove unexecuted code while handling amsdu packets. The same logic is done before calling ath11k_dp_rx_msdu_coalesce
Signed-off-by Tamizh chelvam <[email protected]>
--- drivers/net/wireless/ath/ath11k/dp_rx.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/net/wireless/ath/ath11k/dp_rx.c +0 -6
@@ -1371,12 +1371,6 @@ static int ath11k_dp_rx_msdu_coalesce(struct ath11k *ar,int rem_len;int buf_len; -if (!rxcb->is_continuation) { -skb_put (first,HAL_RX_DESC_SIZE + l3pad_bytes + msdu_len); -skb_pull (first,HAL_RX_DESC_SIZE + l3pad_bytes); -return 0 ; - } -if (WARN_ON_ONCE (msdu_len <= (DP_RX_BUFFER_SIZE - (HAL_RX_DESC_SIZE + l3pad_bytes)))) {skb_put (first,HAL_RX_DESC_SIZE + l3pad_bytes + msdu_len);
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 5 lines · Tamizh chelvam
Remove unexecuted code while handling amsdu packets. The same logic is done before calling
ath11k_dp_rx_msdu_coalesceSigned-off-by Tamizh chelvam <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-post-bringup branch of ath.git, thanks.
45ba2ded8b5f ath11k: Remove dead code while handling amsdu packets
Signature · 9 lines
https://patchwork.kernel.org/patch/11065867/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k