]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/mac80211/mlme.c
mac80211: remove useless tests for array
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Oct 2013 09:31:42 +0000 (11:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:32 +0000 (20:50 +0100)
commitb3f51e941bdd559775c80c137c355ce71efb49d7
tree5188b19d56cc0d79c17f571b563cd2deb070bfa4
parent204d130426206071b08c0aa74002fbdb67960eed
mac80211: remove useless tests for array

Coverity points out that checking assoc_data->ie is
completely useless since it's an array in the struct
and can't be NULL - remove the useless checks.

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