tools/usb: remove unneeded 'continue' and simplify condition
authorSasha Levin <sasha.levin@oracle.com>
Thu, 20 Dec 2012 19:11:15 +0000 (14:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jan 2013 00:03:37 +0000 (16:03 -0800)
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>
tools/usb/testusb.c

index 68d0734..643cd77 100644 (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;