summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorShaun Silk <g0del@bigpond.com>2011-09-26 11:26:43 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-26 15:49:42 -0700
commit5023829969f56b78a16da94f34c605bbbb344018 (patch)
tree6aef085f6483c2100d688ddba2bf663d6f90388e /drivers/usb/gadget
parent2093c6b49c8f1dc581d8953aca71297d4cace55e (diff)
USB: gadget: u_serial.c: fixed a brace coding style issue
Signed-off-by: Shaun Silk <g0del@bigpond.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/u_serial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/u_serial.c b/drivers/usb/gadget/u_serial.c
index a8aa46962d8..3a4a664bab4 100644
--- a/drivers/usb/gadget/u_serial.c
+++ b/drivers/usb/gadget/u_serial.c
@@ -552,9 +552,8 @@ recycle:
/* Push from tty to ldisc; without low_latency set this is handled by
* a workqueue, so we won't get callbacks and can hold port_lock
*/
- if (tty && do_push) {
+ if (tty && do_push)
tty_flip_buffer_push(tty);
- }
/* We want our data queue to become empty ASAP, keeping data