tty: tty_ldisc: Fix an issue of code indent should use tabs
Fix an issue of code indent should use tabs, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Link: https://lore.kernel.org/r/1617779210-51576-7-git-send-email-tanxiaofei@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
96d508259c
Коммит
5d3945e84b
|
@ -459,7 +459,7 @@ static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld)
|
||||||
WARN_ON(test_and_set_bit(TTY_LDISC_OPEN, &tty->flags));
|
WARN_ON(test_and_set_bit(TTY_LDISC_OPEN, &tty->flags));
|
||||||
if (ld->ops->open) {
|
if (ld->ops->open) {
|
||||||
int ret;
|
int ret;
|
||||||
/* BTM here locks versus a hangup event */
|
/* BTM here locks versus a hangup event */
|
||||||
ret = ld->ops->open(tty);
|
ret = ld->ops->open(tty);
|
||||||
if (ret)
|
if (ret)
|
||||||
clear_bit(TTY_LDISC_OPEN, &tty->flags);
|
clear_bit(TTY_LDISC_OPEN, &tty->flags);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче