tty: sysrq: delete unnecessary check
This code checks if (write) is true twice in a row. It's more readable to delete the first check. Signed-off-by:Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by:
Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/aJNAhHtKkhWjosDV@stanley.mountain Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment