From: Kalle Valo <kvalo@codeaurora.org>
To: linux-wireless@vger.kernel.org
Cc: ath11k@lists.infradead.org
Subject: [PATCH 5/8] ath11k: Remove dead code while handling amsdu packets
Date: Mon, 25 Nov 2019 16:36:25 +0000 [thread overview]
Message-ID: <0101016ea36bdc5d-226b45e9-87ca-49a2-9ed9-655159b3d626-000000@us-west-2.amazonses.com> (raw)
In-Reply-To: <1574699772-17938-1-git-send-email-kvalo@codeaurora.org>
From: Tamizh chelvam <tamizhr@codeaurora.org>
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>
---
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 0ff0ff81adeb..7aade0314e61 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -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);
--
2.7.4
next prev parent reply other threads:[~2019-11-25 16:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1574699772-17938-1-git-send-email-kvalo@codeaurora.org>
2019-11-25 16:36 ` [PATCH 1/8] ath11k: add RX stats support for radiotap Kalle Valo
2019-11-27 15:47 ` Kalle Valo
2019-11-25 16:36 ` [PATCH 2/8] ath11k: ignore event 0x6017 Kalle Valo
2019-11-25 16:36 ` [PATCH 3/8] ath11k: convert message from info to dbg Kalle Valo
2019-11-25 16:36 ` [PATCH 4/8] ath11k: fix missed bw conversion in tx completion Kalle Valo
2019-11-25 16:36 ` Kalle Valo [this message]
2019-11-25 16:36 ` [PATCH 6/8] ath11k: add HE support Kalle Valo
2019-11-25 16:36 ` [PATCH 7/8] ath11k: add TWT support Kalle Valo
2019-11-25 16:36 ` [PATCH 8/8] ath11k: add spatial reuse support Kalle Valo
[not found] ` <0101016ea36be2a7-e7459aa6-c762-4f95-bb93-0158f7bb5bfb-000000@us-west-2.amazonses.com>
2019-11-25 18:03 ` [PATCH 6/8] ath11k: add HE support John Crispin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0101016ea36bdc5d-226b45e9-87ca-49a2-9ed9-655159b3d626-000000@us-west-2.amazonses.com \
--to=kvalo@codeaurora.org \
--cc=ath11k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).