mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 17:43:59 +00:00
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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user