From: Sasha Levin Date: Thu, 20 Dec 2012 19:11:15 +0000 (-0500) Subject: tools/usb: remove unneeded 'continue' and simplify condition X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2c449e380153b72e184dd253ce6470acaee53cb0;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- 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: 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;