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:
Родитель
5ac43d1fbb
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче