[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1356030701-16284-7-git-send-email-sasha.levin@oracle.com>
Date: Thu, 20 Dec 2012 14:11:15 -0500
From: Sasha Levin <sasha.levin@...cle.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Du Changbin <changbinx.du@...el.com>,
Michal Nazarewicz <mina86@...a86.com>,
Sasha Levin <sasha.levin@...cle.com>,
Felipe Balbi <balbi@...com>, linux-kernel@...r.kernel.org
Subject: [PATCH] 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@...cle.com>
---
tools/usb/testusb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tools/usb/testusb.c b/tools/usb/testusb.c
index 68d0734..643cd77 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;
--
1.8.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists