From: Dan Carpenter Date: Sat, 22 May 2010 20:33:11 +0000 (+0200) Subject: ath9k: cleanup: remove unneeded null check X-Git-Tag: v2.6.36-rc1~571^2~615^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43163f0f8a11822607c36249c6f55f0613e0d73d;p=pandora-kernel.git ath9k: cleanup: remove unneeded null check We dereference "wmi" on the line before and also when we initialize "ah". This check has always been after a dereference since the first commit a couple months ago. Looking through the code, it looks like "wmi" can't actually be null here so I just removed the check. Signed-off-by: Dan Carpenter Acked-by: Sujith Signed-off-by: John W. Linville --- Reading git-diff-tree failed