cfg80211: reg: remove useless non-NULL check
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 06:44:32 +0000 (08:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 14:17:07 +0000 (16:17 +0200)
commit7cf374182391d67f08c0ef0519a57fb594e0f543
tree22935bb48806ce2bd438c8599ccf95567aabc989
parent8047d2616dc7ff47d34f5bc64835e060ccb5db1c
cfg80211: reg: remove useless non-NULL check

There's no way that the alpha2 pointer can be NULL, so
no point in checking that it isn't.

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