From: Xiaofei Tan Date: Wed, 12 May 2021 09:26:22 +0000 (+0800) Subject: tty: tty_io: Remove return in void function X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fab491030cea293692f3a48a2c77a754f79c9ccc;p=linux.git tty: tty_io: Remove return in void function Remove return in void function, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan Link: https://lore.kernel.org/r/1620811585-18582-15-git-send-email-tanxiaofei@huawei.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 4a1c1a1928a32..8f9e89715a68e 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; }