]> git.baikalelectronics.ru Git - kernel.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)
commit1aea0fa6f64a2a432df97487199ee7851b18ad59
tree647d4d38dd02f473f895adca36fb7b74f3cefc89
parentd0ac44b6eb2db44d8e50b7d77b197bd00767cd94
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