Skip to content
Commit 728648c7 authored by Li zeming's avatar Li zeming Committed by Greg Kroah-Hartman
Browse files

tty: tty_ldisc: Remove the ret variable



The int variable ret does not receive the return value in this function.
It should be removed and returned 0 directly.

Signed-off-by: default avatarLi zeming <zeming@nfschina.com>
Reviewed-by: default avatarJiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230222202303.3195-1-zeming@nfschina.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fe15c26e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment