summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2021-05-12 12:26:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 19:29:13 +0300
commitfab491030cea293692f3a48a2c77a754f79c9ccc (patch)
tree0683be1ff699f605280a4f04b839dfbcc0d1e28e /drivers/tty/tty_io.c
parent27eab129323bac984a3de4d9585351dc525793bd (diff)
downloadlinux-fab491030cea293692f3a48a2c77a754f79c9ccc.tar.xz
tty: tty_io: Remove return in void function
Remove return in void function, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Link: https://lore.kernel.org/r/1620811585-18582-15-git-send-email-tanxiaofei@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r--drivers/tty/tty_io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index 4a1c1a1928a3..8f9e89715a68 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -1090,7 +1090,6 @@ void tty_write_message(struct tty_struct *tty, char *msg)
tty_unlock(tty);
tty_write_unlock(tty);
}
- return;
}