Skip to contentSkip to conversation

mac80211-hwsim: remove un-used variable

PATCH New [email protected] 1 participant 1 message Oct 29, 2014 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211-hwsim: remove un-used variable

From: Ben Greear <[email protected]>

Remove un-used variable added in recent patch. Can re-add this when we have an idea how to deal with receiving pkts from user-space on channels not supported by current operating mode of the virual radio.

---
 drivers/net/wireless/mac80211_hwsim.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/mac80211_hwsim.c +0 -1
index b40435c..9dd07f7 100644
@@ -2424,7 +2424,6 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2,
 	int frame_data_len;
 	void *frame_data;
 	struct sk_buff *skb = NULL;
-	u32 freq;
 
 	if (info->snd_portid != wmediumd_portid) {
 		printk(KERN_DEBUG "mac80211-hwsim: port-id mismatch: %d %d\n",
Signature · 1 line
1.7.11.7