]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27aca9e1778a8b5c6dbdd9f6e15374a87f014da2
tree5188b19d56cc0d79c17f571b563cd2deb070bfa4
parent11f3a7fd98220a13e51ffc933f737a005fe1faab
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