[PATCH v2 10/10] usb: host: ehci-sched: remove unnecessary braces

2015-12-12 Thread Geyslan G. Bem
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 --- v2: removes unnecessary parens in ternary conditional. ---

[PATCH v2 10/10] usb: host: ehci-sched: remove unnecessary braces

2015-12-12 Thread Geyslan G. Bem
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 --- v2: removes unnecessary parens in ternary