Commit 2c449e380153b72e184dd253ce6470acaee53cb0

Authored by Sasha Levin
Committed by Greg Kroah-Hartman
1 parent a8ffa0be04

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>

Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff

... ... @@ -507,10 +507,8 @@
507 507 return handle_testdev (entry) != entry;
508 508 }
509 509 status = pthread_create (&entry->thread, 0, handle_testdev, entry);
510   - if (status) {
  510 + if (status)
511 511 perror ("pthread_create");
512   - continue;
513   - }
514 512 }
515 513 if (device) {
516 514 struct testdev dev;