Skip to contentSkip to conversation

Staging: tty: epca: fixing return code-style issue

PATCH New Aviv Ben-Yosef 1 participant 1 message Jun 4, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: tty: epca: fixing return code-style issue

Fixed a coding-style issue, ``return'' with parens.

---
 drivers/staging/tty/epca.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/tty/epca.c +1 -1
index 7f1369e..2a4ba10 100644
@@ -792,7 +792,7 @@ static int pc_open(struct tty_struct *tty, struct file *filp)
 	}
 	if (boardnum >= num_cards || boards[boardnum].status == DISABLED)  {
 		tty->driver_data = NULL;   /* Mark this device as 'down' */
-		return(-ENODEV);
+		return -ENODEV;
 	}
 
 	bc = ch->brdchan;
Signature · 1 line
1.7.1