Centos-kernel-stream-9/kernel/trace/rv
John Kacur 6b1a6daadd rv: Remove redundant assignment to variable retval
JIRA: https://issues.redhat.com/browse/RHEL-10080

commit 73e053cbd00ed890abfc812d6c602cbfa8d234dc
Author: Colin Ian King <colin.i.king@gmail.com>
Date:   Tue Apr 18 16:00:18 2023 +0100

	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>

Signed-off-by: John Kacur <jkacur@redhat.com>
2023-11-13 16:11:04 -05:00
..
monitors rv/monitors: Move monitor structure in rodata 2023-11-13 15:59:37 -05:00
Kconfig rv/reactor: Add the panic reactor 2022-11-14 15:11:32 +01:00
Makefile rv/reactor: Add the panic reactor 2022-11-14 15:11:32 +01:00
reactor_panic.c rv/reactor: remove MODULE_LICENSE in non-modules 2023-11-13 16:08:37 -05:00
reactor_printk.c rv/reactor: remove MODULE_LICENSE in non-modules 2023-11-13 16:08:37 -05:00
rv.c rv: Remove redundant assignment to variable retval 2023-11-13 16:11:04 -05:00
rv.h
rv_reactors.c rv: Unlock on error path in rv_unregister_reactor() 2022-11-14 15:11:33 +01:00