mac80211: tdls: remove shadowing variable
authorJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 10:36:54 +0000 (11:36 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 10:37:44 +0000 (11:37 +0100)
commitd6f5cc091b04c4364c7cd928cef3dff21e2bef55
tree9f440775e578c5bdf7dd96766d4a39b3f300a31a
parent13874e4b23de83899cc2d48011a98e42347c67cb
mac80211: tdls: remove shadowing variable

There's no need to use another local 'sta' variable as the
original (outer scope) one isn't needed any more and has
become invalid anyway when exiting the RCU read section.

Remove the inner scope one and along with it the useless NULL
initialization.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c