From: Sudip Mukherjee Date: Fri, 7 Nov 2014 11:20:46 +0000 (+0530) Subject: staging: rtl8188eu: unneeded NULL check X-Git-Tag: omap-for-v3.20/drop-legacy-3517~70^2~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48037f9169f653d1124eb75157293d875e7e57f;p=pandora-kernel.git staging: rtl8188eu: unneeded NULL check before these NULL checks we are already checking it for NULL, and if it is NULL then we are jumping to the error label and handling the error before returning. So we can reach this part of the code only if the variable is known to be not NULL, and if we already know that it is not NULL, then no need to check it again. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed