Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c449e38 authored by Sasha Levin's avatar Sasha Levin Committed by Greg Kroah-Hartman
Browse files

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: default avatarSasha Levin <sasha.levin@oracle.com>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a8ffa0be
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -507,10 +507,8 @@ int main (int argc, char **argv)
			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;