Skip to contentSkip to conversation

Drivers: tty: synclink: fixed a brace coding style issue

PATCH New Zac Storer 1 participant 1 message Nov 18, 2011 TTY layer and serial drivers

lore
Share & tools
lore

Zac Storer

author
#0 lore raw

PATCH 13/13 Drivers: tty: synclink: fixed a brace coding style issue

Fixed a brace coding style issue.

---
 drivers/tty/synclink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/tty/synclink.c +1 -1
index 0a9dfeb..92d3250 100644
@@ -3282,7 +3282,7 @@ static int block_til_ready(struct tty_struct *tty, struct file * filp,
 		printk("%s(%d):block_til_ready on %s\n",
 			 __FILE__,__LINE__, tty->driver->name );
 
-	if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){
+	if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)) {
 		/* nonblock mode is set or port is not enabled */
 		port->flags |= ASYNC_NORMAL_ACTIVE;
 		return 0;
Signature · 1 line
1.7.7.3