提交 2c449e38 编写于 作者: S Sasha Levin 提交者: Greg Kroah-Hartman

tools/usb: remove unneeded 'continue' and simplify condition

Basically remove unneeded code. Since that 'continue' is at the end
of the for() there's no need for it.
Signed-off-by: NSasha Levin <sasha.levin@oracle.com>
Acked-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a8ffa0be
......@@ -507,10 +507,8 @@ int main (int argc, char **argv)
return handle_testdev (entry) != entry;
}
status = pthread_create (&entry->thread, 0, handle_testdev, entry);
if (status) {
if (status)
perror ("pthread_create");
continue;
}
}
if (device) {
struct testdev dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册