提交 deb3d7ff 编写于 作者: O Oliver Neukum 提交者: Greg Kroah-Hartman

USB: remove useless check in mos7840 found by coverity

this useless check should be removed.
Signed-off-by: NOliver Neukum <oneukum@suse.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 5ac43d1f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册