提交 796c5542 编写于 作者: J Jes Sorensen 提交者: Kalle Valo

rtl8xxxu: Remove unused mgmt variable from rtl8xxxu_rx_complete()

Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册