diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-08-06 14:46:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-13 17:42:26 +0200 |
commit | 96c08ff80b8fce45e49fee5eba4b40b1654eb5aa (patch) | |
tree | fec7f40304eb6eae9af0dc3b9687430925415ffa /rust/helpers/processor.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
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>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions