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:
Tamizh chelvam
2019-11-25 16:36:25 +00:00
committed by Kalle Valo
parent 39e81c6a29
commit 33782a3c37

View File

@@ -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);