2009-11-16 16:23:37

by Johannes Stezenbach

[permalink] [raw]
Subject: rt2x00: unused variable frame_control

While looking for something else I noticed this in rt2xxmac.c:

int rt2x00mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
...
frame_control = le16_to_cpu(ieee80211hdr->frame_control);

However, the value of frame_control is never used.


Johannes