projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeae5b4
)
ath10k: remove unused variable hdr in ath10k_htt_rx_h_undecap()
author
Raja Mani
<rmani@qti.qualcomm.com>
Mon, 15 Jun 2015 11:46:42 +0000
(14:46 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Tue, 16 Jun 2015 10:12:19 +0000
(13:12 +0300)
Just found this during code review.
Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/htt_rx.c
b/drivers/net/wireless/ath/ath10k/htt_rx.c
index 89eb16b30fc42479a3b1c11a7b9b3fd88c043490..7399e45a016ef636fe01998066b4a7e17c6353e8 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/htt_rx.c
+++ b/
drivers/net/wireless/ath/ath10k/htt_rx.c
@@
-1201,7
+1201,6
@@
static void ath10k_htt_rx_h_undecap(struct ath10k *ar,
{
struct htt_rx_desc *rxd;
enum rx_msdu_decap_format decap;
- struct ieee80211_hdr *hdr;
/* First msdu's decapped header:
* [802.11 header] <-- padded to 4 bytes long
@@
-1215,7
+1214,6
@@
static void ath10k_htt_rx_h_undecap(struct ath10k *ar,
*/
rxd = (void *)msdu->data - sizeof(*rxd);
- hdr = (void *)rxd->rx_hdr_status;
decap = MS(__le32_to_cpu(rxd->msdu_start.info1),
RX_MSDU_START_INFO1_DECAP_FORMAT);