USB: remove useless check in mos7840 found by coverity

this useless check should be removed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Oliver Neukum 2007-05-02 10:17:50 +02:00 committed by Greg Kroah-Hartman
parent 5ac43d1fbb
commit deb3d7fff0

View File

@ -769,11 +769,6 @@ static void mos7840_bulk_out_data_callback(struct urb *urb)
return;
}
if (!mos7840_port) {
dbg("%s", "NULL mos7840_port pointer \n");
return;
}
if (mos7840_port_paranoia_check(mos7840_port->port, __FUNCTION__)) {
dbg("%s", "Port Paranoia failed \n");
return;