Skip to content

Commit

Permalink
USB: remove useless check in mos7840 found by coverity
Browse files Browse the repository at this point in the history
this useless check should be removed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed May 23, 2007
1 parent 5ac43d1 commit deb3d7f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/serial/mos7840.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit deb3d7f

Please sign in to comment.