cfg80211: remove unnecessary null pointer check in cfg80211_netdev_notifier_call
authorzhong jiang <zhongjiang@huawei.com>
Sat, 8 Sep 2018 11:21:28 +0000 (19:21 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 07:56:29 +0000 (09:56 +0200)
commitd25d062f55c6dc1a0d82dbebadf99924751a41b2
treee3d6ef73f36acd8e447f2996a0d29cc4c19ba4cc
parent024926def6ca95819442699fbecc1fe376253fb9
cfg80211: remove unnecessary null pointer check in cfg80211_netdev_notifier_call

The iterator in list_for_each_entry_safe is never null, therefore, remove
the redundant null pointer check.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c