diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-06 14:17:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-15 14:47:05 +0200 |
commit | beca62c4212ade1516a526784adf7f7d99c7f3d9 (patch) | |
tree | f171670fb7eaeac428b4671553379e7755275b59 /include/linux/sysrq.h | |
parent | 7b668c064ec33f3d687c3a413d05e355172e6c92 (diff) | |
download | linux-stable-beca62c4212ade1516a526784adf7f7d99c7f3d9.tar.gz linux-stable-beca62c4212ade1516a526784adf7f7d99c7f3d9.tar.bz2 linux-stable-beca62c4212ade1516a526784adf7f7d99c7f3d9.zip |
tty: mxser: make mxser_change_speed() return void
No other functions use the return value of mxser_change_speed() and the
return value is always 0 now. Make it return void. This fixes the
following coccicheck warning:
drivers/tty/mxser.c:645:5-8: Unneeded variable: "ret". Return "0" on
line 650
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200506061735.19369-1-yanaijie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sysrq.h')
0 files changed, 0 insertions, 0 deletions