cfg80211: remove scan ies NULL check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Feb 2013 15:51:29 +0000 (16:51 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 17:44:58 +0000 (18:44 +0100)
commit83c7aa1a1475ae1c42640ab6e4559016142efc67
tree1a93edf5cb47eea45a120bd34ab0c72383cb28b6
parentb207cdb07f3f01ec1adaac62e9d0cc918c60a81a
cfg80211: remove scan ies NULL check

There's no way scan BSS IEs can be NULL as even
if the allocation fails the frame is discarded.
Remove some code checking for this and document
that it is always non-NULL.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mwifiex/sta_ioctl.c
include/net/cfg80211.h
net/wireless/scan.c