Commit 796c5542 authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo

rtl8xxxu: Remove unused mgmt variable from rtl8xxxu_rx_complete()

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 53b381c4
...@@ -5031,7 +5031,6 @@ static void rtl8xxxu_rx_complete(struct urb *urb) ...@@ -5031,7 +5031,6 @@ static void rtl8xxxu_rx_complete(struct urb *urb)
struct rtl8xxxu_rx_desc *rx_desc = (struct rtl8xxxu_rx_desc *)skb->data; struct rtl8xxxu_rx_desc *rx_desc = (struct rtl8xxxu_rx_desc *)skb->data;
struct rtl8723au_phy_stats *phy_stats; struct rtl8723au_phy_stats *phy_stats;
struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb);
struct ieee80211_mgmt *mgmt;
struct device *dev = &priv->udev->dev; struct device *dev = &priv->udev->dev;
__le32 *_rx_desc_le = (__le32 *)skb->data; __le32 *_rx_desc_le = (__le32 *)skb->data;
u32 *_rx_desc = (u32 *)skb->data; u32 *_rx_desc = (u32 *)skb->data;
...@@ -5052,8 +5051,6 @@ static void rtl8xxxu_rx_complete(struct urb *urb) ...@@ -5052,8 +5051,6 @@ static void rtl8xxxu_rx_complete(struct urb *urb)
skb_pull(skb, drvinfo_sz + desc_shift); skb_pull(skb, drvinfo_sz + desc_shift);
mgmt = (struct ieee80211_mgmt *)skb->data;
memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); memset(rx_status, 0, sizeof(struct ieee80211_rx_status));
if (rx_desc->phy_stats) if (rx_desc->phy_stats)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment