]> git.karo-electronics.de Git - linux-beck.git/commit
usb: host: ehci-sched: remove unnecessary braces
authorGeyslan G. Bem <geyslan@gmail.com>
Tue, 26 Jan 2016 01:45:19 +0000 (22:45 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:44:05 +0000 (13:44 -0800)
commitd078c6e4ea5e6a93d44d5815d0ee4a9bb5c5718b
tree6d7f3c0b115425948f765ab402c4d7b99eb8d5ad
parentee2a1d24b9b37686214aecfccccf611be6bc0144
usb: host: ehci-sched: remove unnecessary braces

This patch removes unnecessary braces in single statement blocks at the
same time as replaces the if statement with a ternary conditional.

Tested by compilation only.
Caught by checkpatch.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sched.c