From: Eytan Lifshitz Date: Mon, 21 Jul 2014 12:18:41 +0000 (+0300) Subject: mac80211: remove useless NULL checks X-Git-Tag: cleanup-for-v3.18~108^2~73^2~18^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e83deb4c1e7e8b6ab78e7331288bf4211bdeb6;p=pandora-kernel.git mac80211: remove useless NULL checks sdata can't be NULL, and key being NULL is really not possible unless the code is modified. The sdata check made a static analyze (klocwork) unhappy because we would get pointer to local (sdata->local) and only then check if sdata is non-NULL. Signed-off-by: Eytan Lifshitz Signed-off-by: Emmanuel Grumbach [remove !key check as well] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed