浏览代码

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>
Shaun Silk 14 年之前
父节点
当前提交
5023829969
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/usb/gadget/u_serial.c

+ 1 - 2
drivers/usb/gadget/u_serial.c

@@ -552,9 +552,8 @@ recycle:
 	/* Push from tty to ldisc; without low_latency set this is handled by
 	/* 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
 	 * 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);
 		tty_flip_buffer_push(tty);
-	}
 
 
 
 
 	/* We want our data queue to become empty ASAP, keeping data
 	/* We want our data queue to become empty ASAP, keeping data