mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +00:00
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>
This commit is contained in:
parent
93a8c044b9
commit
12c3e0c92f
1 changed files with 0 additions and 1 deletions
|
@ -546,7 +546,6 @@ static int __trace_uprobe_create(int argc, const char **argv)
|
|||
bool is_return = false;
|
||||
int i, ret;
|
||||
|
||||
ret = 0;
|
||||
ref_ctr_offset = 0;
|
||||
|
||||
switch (argv[0][0]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue