Commit 33782a3c authored by Tamizh chelvam's avatar Tamizh chelvam Committed by Kalle Valo

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: default avatarTamizh chelvam <tamizhr@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 39e81c6a
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment