mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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: Sasha Levin <sasha.levin@oracle.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a8ffa0be04
commit
2c449e3801
@ -507,10 +507,8 @@ usage:
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user