]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211_hwsim: statically initialize hwsim_radios list
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Sep 2016 13:30:03 +0000 (16:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 16 Sep 2016 12:49:43 +0000 (14:49 +0200)
commitb59abfbed638037f3b51eeb73266892cd2df177f
tree647d4d38dd02f473f895adca36fb7b74f3cefc89
parentc68df2e7be0c1238ea3c281fd744a204ef3b15a0
mac80211_hwsim: statically initialize hwsim_radios list

There's no need to initialize at runtime, when the static
declaration macro can just be used instead, so do that.

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