Browse Source

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

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

Signed-off-by: Aviv Ben-Yosef <aviv.by@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Aviv Ben-Yosef 14 years ago
parent
commit
9d17653c72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/tty/epca.c

+ 1 - 1
drivers/staging/tty/epca.c

@@ -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;