Staging: tty: epca: fixing return code-style issue
authorAviv Ben-Yosef <aviv.by@gmail.com>
Sat, 4 Jun 2011 12:09:33 +0000 (05:09 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:29:19 +0000 (14:29 -0700)
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>
drivers/staging/tty/epca.c

index 7f1369e5b418924b77e9d2e0ac8b6f36c304a307..2a4ba10ef92da675497b53cf0b5b8300580f3351 100644 (file)
@@ -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;