mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
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>
This commit is contained in:
parent
562d683cc7
commit
9d17653c72
@ -792,7 +792,7 @@ static int pc_open(struct tty_struct *tty, struct file *filp)
|
|||||||
}
|
}
|
||||||
if (boardnum >= num_cards || boards[boardnum].status == DISABLED) {
|
if (boardnum >= num_cards || boards[boardnum].status == DISABLED) {
|
||||||
tty->driver_data = NULL; /* Mark this device as 'down' */
|
tty->driver_data = NULL; /* Mark this device as 'down' */
|
||||||
return(-ENODEV);
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
bc = ch->brdchan;
|
bc = ch->brdchan;
|
||||||
|
Loading…
Reference in New Issue
Block a user