diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-12-20 14:11:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 19:03:37 -0500 |
commit | 2c449e380153b72e184dd253ce6470acaee53cb0 (patch) | |
tree | 12b2e1733886625a21ada19526b6500e97a7695a /tools | |
parent | a8ffa0be04d04b01e2a7fd116bc3763940753643 (diff) |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/usb/testusb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/usb/testusb.c b/tools/usb/testusb.c index 68d0734b2081..643cd77fa980 100644 --- a/tools/usb/testusb.c +++ b/tools/usb/testusb.c | |||
@@ -507,10 +507,8 @@ usage: | |||
507 | return handle_testdev (entry) != entry; | 507 | return handle_testdev (entry) != entry; |
508 | } | 508 | } |
509 | status = pthread_create (&entry->thread, 0, handle_testdev, entry); | 509 | status = pthread_create (&entry->thread, 0, handle_testdev, entry); |
510 | if (status) { | 510 | if (status) |
511 | perror ("pthread_create"); | 511 | perror ("pthread_create"); |
512 | continue; | ||
513 | } | ||
514 | } | 512 | } |
515 | if (device) { | 513 | if (device) { |
516 | struct testdev dev; | 514 | struct testdev dev; |