mac80211: fix sparse warnings/errors
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 29 Jul 2009 13:46:21 +0000 (15:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:43:25 +0000 (16:43 -0400)
commit57c9fff3d0c5d77bc7910717faeca4e8a018b1ee
treece285fab9cb8faeab42b765e8a913fa790c3f46c
parent0b3acfa71a50a1fa1fcee528aa15404ea4ea0877
mac80211: fix sparse warnings/errors

sparse complains about a shadowed variable, which
we can just rename, and lots of stuff if the API
tracer is enabled, so kick out the tracer code in
a sparse run -- the macros just confuse it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/driver-trace.c
net/mac80211/iface.c