mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 16:24:29 -04:00
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 <tamizhr@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
committed by
Kalle Valo
parent
39e81c6a29
commit
33782a3c37
@@ -1349,12 +1349,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);
|
||||
|
||||
Reference in New Issue
Block a user