Skip to contentSkip to conversation

p54/rtl8187: fix up the seqno patch

PATCH New Johannes Berg 1 participant 1 message Oct 11, 2008 Networking drivers (wireless)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 p54/rtl8187: fix up the seqno patch

Sorry about that, for some reason I didn't notice that I'd left some unused variables in there.

---
 drivers/net/wireless/p54/p54common.c |    1 -
 drivers/net/wireless/rtl8187_dev.c   |    1 -
 2 files changed, 2 deletions(-)
drivers/net/wireless/p54/p54common.c +0 -1
@@ -810,7 +810,6 @@ static int p54_tx(struct ieee80211_hw *d
 	struct ieee80211_tx_queue_stats *current_queue;
 	struct p54_common *priv = dev->priv;
 	struct p54_control_hdr *hdr;
-	struct ieee80211_hdr *ieee80211hdr = (struct ieee80211_hdr *)skb->data;
 	struct p54_tx_control_allocdata *txhdr;
 	size_t padding, len;
 	u8 rate;
drivers/net/wireless/rtl8187_dev.c +0 -1
@@ -172,7 +172,6 @@ static int rtl8187_tx(struct ieee80211_h
 {
 	struct rtl8187_priv *priv = dev->priv;
 	struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
-	struct ieee80211_hdr *ieee80211hdr = (struct ieee80211_hdr *)skb->data;
 	unsigned int ep;
 	void *buf;
 	struct urb *urb;