Skip to content

Commit

Permalink
Staging: tty: epca: fixing return code-style issue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aviv Ben-Yosef authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 562d683 commit 9d17653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/tty/epca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9d17653

Please sign in to comment.