Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 404d67ef authored by Raja Mani's avatar Raja Mani Committed by Kalle Valo
Browse files

ath10k: remove unused variable hdr in ath10k_htt_rx_h_undecap()



Just found this during code review.

Signed-off-by: default avatarRaja Mani <rmani@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent aeae5b4c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);