From: Dan Carpenter Date: Fri, 8 Oct 2010 12:57:44 +0000 (+0200) Subject: Staging: bcm: remove unneeded NULL check X-Git-Tag: v2.6.37-rc1~60^2~3^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02339374cf3a28c30b5a137ab181eed358589dea;p=pandora-kernel.git Staging: bcm: remove unneeded NULL check The error handling here is wrong. If psIntfAdapter were NULL then we would have a NULL dereference in the debug output on the error path. But this function is only called from usbbcm_device_probe() when psIntfAdapter is non-NULL. Since the check isn't needed and I removed it instead of fixing it. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed