From: Adrian Bunk Date: Thu, 18 Oct 2007 10:53:07 +0000 (+0200) Subject: USB rio500.c: fix check-after-use X-Git-Tag: v2.6.24-rc2~136^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3328d9752f3796a5f5f8695d27a175c34407a5ed;p=pandora-kernel.git USB rio500.c: fix check-after-use The Coverity checker spotted that we have already oops'ed if "dev" was NULL in these places. Since "dev" being NULL isn't possible at these places this patch removes the NULL checks. Additionally, I've fixed the formatting of the if's. Signed-off-by: Adrian Bunk Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed