]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited23f9790dfab4a6d5a705baa383bab4a45f5e9a
tree4aa19f3729527bd59e7404605ee6a8606f5b27b5
parent361a9543e6f451d377eaff550b683659ad74a82e
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