projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8ffa0b
)
tools/usb: remove unneeded 'continue' and simplify condition
author
Sasha Levin
<sasha.levin@oracle.com>
Thu, 20 Dec 2012 19:11:15 +0000
(14:11 -0500)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/tools/usb/testusb.c
b/tools/usb/testusb.c
index 68d0734b2081718eeb762e6dcdfa77898d7f7b6c..643cd77fa980ae79b0b7ca0f686a6b951437a6c3 100644
(file)
--- 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;