mirror_ubuntu-kernels/kernel/trace/rv
Colin Ian King 73e053cbd0 rv: Remove redundant assignment to variable retval
Variable retval is being assigned a value that is never read, it is
being re-assigned a new value in both paths of a following if statement.
Remove the assignment.

Cleans up clang-scan warning:
kernel/trace/rv/rv.c:293:2: warning: Value stored to 'retval' is never read [deadcode.DeadStores]
        retval = count;

Link: https://lkml.kernel.org/r/20230418150018.3123753-1-colin.i.king@gmail.com

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2023-04-25 19:24:28 -04:00
..
monitors rv/monitors: Move monitor structure in rodata 2022-12-20 11:46:40 -05:00
Kconfig rv/reactor: Add the panic reactor 2022-07-30 14:01:30 -04:00
Makefile rv/reactor: Add the panic reactor 2022-07-30 14:01:30 -04:00
reactor_panic.c rv/reactor: add __init/__exit annotations to module init/exit funcs 2022-09-06 22:26:00 -04:00
reactor_printk.c rv/reactor: add __init/__exit annotations to module init/exit funcs 2022-09-06 22:26:00 -04:00
rv_reactors.c rv: Unlock on error path in rv_unregister_reactor() 2022-08-04 22:49:17 -04:00
rv.c rv: Remove redundant assignment to variable retval 2023-04-25 19:24:28 -04:00
rv.h rv: Add runtime reactors interface 2022-07-30 14:01:28 -04:00