projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27eab12
)
tty: tty_io: Remove return in void function
author
Xiaofei Tan
<tanxiaofei@huawei.com>
Wed, 12 May 2021 09:26:22 +0000
(17:26 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:13 +0000
(18:29 +0200)
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>
drivers/tty/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_io.c
b/drivers/tty/tty_io.c
index 4a1c1a1928a32413ac2149d1c611efedce96b4d4..8f9e89715a68e31cef32f2b0fa65def10b61f9f8 100644
(file)
--- 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;
}