]> Git Repo - linux.git/commit
USB iowarrior.c: fix check-after-use
authorAdrian Bunk <[email protected]>
Thu, 18 Oct 2007 10:52:50 +0000 (12:52 +0200)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/misc/iowarrior.c
This page took 0.052708 seconds and 4 git commands to generate.