]> err.no Git - linux-2.6/commit
USB: mos7720, mos7840: remove redundant urb check
authorFlorin Malita <fmalita@gmail.com>
Mon, 16 Jul 2007 15:50:53 +0000 (11:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Jul 2007 00:46:04 +0000 (17:46 -0700)
commite94fa28f137813c2f6e05470b41bd8f3c5422a04
treef905111f970cd1e971d5afc43dabe94afd87c2ed
parent195af2cce5ff81c4609c7ba585b6698a7771cbfc
USB: mos7720, mos7840: remove redundant urb check

Coverity (1709, 1710, 1711, 1712, 1713) actually flagged these as
REVERSE_INULLs (NULL check performed after dereference). But looking at
the other drivers I can't see any similar tests and the USB core already
makes sure urb is non-null - so might as well get rid of the checks.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c
drivers/usb/serial/mos7840.c