All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: Remove dead code while handling amsdu packets
@ 2019-07-30 13:50 Tamizh chelvam
  2019-08-09  6:59 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Tamizh chelvam @ 2019-07-30 13:50 UTC (permalink / raw)
  To: ath11k; +Cc: Tamizh chelvam

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>
---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 3794cac..6b22003 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -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);
-- 
1.9.1


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ath11k: Remove dead code while handling amsdu packets
  2019-07-30 13:50 [PATCH] ath11k: Remove dead code while handling amsdu packets Tamizh chelvam
@ 2019-08-09  6:59 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-08-09  6:59 UTC (permalink / raw)
  To: Tamizh chelvam; +Cc: ath11k

Tamizh chelvam <tamizhr@codeaurora.org> wrote:

> 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>

Patch applied to ath11k-post-bringup branch of ath.git, thanks.

45ba2ded8b5f ath11k: Remove dead code while handling amsdu packets

-- 
https://patchwork.kernel.org/patch/11065867/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-09  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-30 13:50 [PATCH] ath11k: Remove dead code while handling amsdu packets Tamizh chelvam
2019-08-09  6:59 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.