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
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue