USB: gtco.c: fix a use-before-check
authorAdrian Bunk <bunk@stusta.de>
Mon, 19 Mar 2007 09:26:32 +0000 (10:26 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:36 +0000 (13:28 -0700)
NULL checks should be before the first dereference.

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found