From: Dan Carpenter Date: Mon, 7 Feb 2011 19:03:35 +0000 (+0300) Subject: mac80211: remove unneeded check X-Git-Tag: v2.6.39-rc1~468^2~403^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ad97fbcc233a295f2ccc2c6bdeb32323e360a5e;p=pandora-kernel.git mac80211: remove unneeded check "ap" is the address of sdata->u.ap so it can never be NULL here. Also we dereferenced it on the previous line. I removed the check. Signed-off-by: Dan Carpenter Signed-off-by: John W. Linville --- Reading git-diff-tree failed