]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB iowarrior.c: fix check-after-use
authorAdrian Bunk <bunk@kernel.org>
Thu, 18 Oct 2007 10:52:50 +0000 (12:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Oct 2007 19:18:43 +0000 (12:18 -0700)
commite28c6a77061ab28bd2f0b57e400e3e58cd3474ca
tree256838abb4d5a6ebab61c8fd0eb4780540150933
parent0b28baaf74ca04be2e0cc4d4dd2bbc801697f744
USB iowarrior.c: fix check-after-use

The Coverity checker spotted that we have already oops'ed if "dev"
was NULL.

Since "dev" being NULL doesn't seem to be possible here this patch
removes the NULL check.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/iowarrior.c