]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/uprobes: Remove unwanted initialization in __trace_uprobe_create()
authorGautam Menghani <gautammenghani201@gmail.com>
Sun, 12 Jun 2022 14:42:32 +0000 (07:42 -0700)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 17 Jun 2022 23:12:07 +0000 (19:12 -0400)
commitd8cd8b8834ca129b60af76dfcf398d64938e8d61
tree56d9e3442c42202c66d20d879a8f51226c74b493
parent163383a9dce9e99807fbeb438c7677857ca5c523
tracing/uprobes: Remove unwanted initialization in __trace_uprobe_create()

Remove the unwanted initialization of variable 'ret'. This fixes the clang
scan warning: Value stored to 'ret' is never read [deadcode.DeadStores]

Link: https://lkml.kernel.org/r/20220612144232.145209-1-gautammenghani201@gmail.com
Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_uprobe.c