Commit 9d17653c authored by Aviv Ben-Yosef's avatar Aviv Ben-Yosef Committed by Greg Kroah-Hartman

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

Fixed a coding-style issue, ``return'' with parens.
Signed-off-by: default avatarAviv Ben-Yosef <aviv.by@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 562d683c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment