mac80211: Fix warnings due to -Wunused-but-set-variable
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 25 Apr 2011 10:26:17 +0000 (15:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 26 Apr 2011 19:50:31 +0000 (15:50 -0400)
commit0915cba394268e68b6a8242b15f8c7283453df43
tree184498cf778c3feefd6b78d2856f082135e14f04
parent334df731976ee4042c9bf18b2eec9c0a71f45389
mac80211: Fix warnings due to -Wunused-but-set-variable

These warnings are exposed by gcc 4.6.
net/mac80211/sta_info.c: In function 'sta_info_cleanup_expire_buffered':
net/mac80211/sta_info.c:590:32: warning: variable 'sdata' set but not used
net/mac80211/ibss.c: In function 'ieee80211_rx_mgmt_auth_ibss':
net/mac80211/ibss.c:43:34: warning: variable 'status_code' set but not used
net/mac80211/work.c: In function 'ieee80211_send_assoc':
net/mac80211/work.c:203:9: warning: variable 'len' set but not used
net/mac80211/tx.c: In function '__ieee80211_parse_tx_radiotap':
net/mac80211/tx.c:1039:35: warning: variable 'sband' set but not used
net/mac80211/mesh.c: In function 'ieee80211_mesh_rx_queued_mgmt':
net/mac80211/mesh.c:616:28: warning: variable 'ifmsh' set but not used
 ...

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/aes_ccm.c
net/mac80211/ibss.c
net/mac80211/mesh.c
net/mac80211/mesh_hwmp.c
net/mac80211/sta_info.c
net/mac80211/tx.c
net/mac80211/work.c