mac80211_hwsim: remove shadowing variable
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jan 2016 13:21:01 +0000 (14:21 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:22 +0000 (09:04 +0100)
commitf06b7ab875037c3d99cd30a07c51caf34fbecb2c
tree4aa19f3729527bd59e7404605ee6a8606f5b27b5
parent538dc9045251d3d6b5c0216a5c61c32bd9cedac9
mac80211_hwsim: remove shadowing variable

The function here already has a variable hdr that even
contains the right thing, so the inner scope's hdr variable
that's shadowing the outer one can just be removed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c