]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ftrace: Remove redundant initialization of variable ret
authorColin Ian King <colin.king@canonical.com>
Wed, 21 Jul 2021 12:09:15 +0000 (13:09 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 23 Jul 2021 12:46:02 +0000 (08:46 -0400)
commit3b1a8f457fcf105924c72e99f1191834837c978d
tree832745c25ae7f19ab2c34950550f9cb5a5fdc18c
parent68e83498cb4fad31963b5c76a71e80b824bc316e
ftrace: Remove redundant initialization of variable ret

The variable ret is being initialized with a value that is never
read, it is being updated later on. The assignment is redundant and
can be removed.

Link: https://lkml.kernel.org/r/20210721120915.122278-1-colin.king@canonical.com
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c