Skip to contentSkip to conversation

Drivers: tty: synclink_gt: 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 8/8 Drivers: tty: synclink_gt: fixed a brace coding style issue

Fixed a brace coding style issue.

---
 drivers/tty/synclink_gt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/tty/synclink_gt.c +1 -1
index 6ea8c93..6faa2de 100644
@@ -3287,7 +3287,7 @@ static int block_til_ready(struct tty_struct *tty, struct file *filp,
 
 	DBGINFO(("%s block_til_ready\n", 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