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:
Sasha Levin 2012-12-20 14:11:15 -05:00 committed by Greg Kroah-Hartman
parent a8ffa0be04
commit 2c449e3801
1 changed files with 1 additions and 3 deletions

View File

@ -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;