From: Dan Carpenter Date: Tue, 10 Nov 2009 08:53:58 +0000 (+0200) Subject: USB: r8a66597: clean up. remove unneeded null checks X-Git-Tag: v2.6.33-rc1~315^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33279dfd825846325546b4d42d542b214ccb8d9;p=pandora-kernel.git USB: r8a66597: clean up. remove unneeded null checks td and dev can not be null. Also they are dereferenced in list_for_each_entry_safe and list_for_each before the check happens so we would have an oops if it were possible for them to be null. Found using the smatch static checker. Signed-off-by: Dan Carpenter Acked-by: Yoshihiro Shimoda Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed