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:
parent
5ac43d1fbb
commit
deb3d7fff0
|
@ -769,11 +769,6 @@ static void mos7840_bulk_out_data_callback(struct urb *urb)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mos7840_port) {
|
|
||||||
dbg("%s", "NULL mos7840_port pointer \n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mos7840_port_paranoia_check(mos7840_port->port, __FUNCTION__)) {
|
if (mos7840_port_paranoia_check(mos7840_port->port, __FUNCTION__)) {
|
||||||
dbg("%s", "Port Paranoia failed \n");
|
dbg("%s", "Port Paranoia failed \n");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue