Message ID | 1607596218-7327-1-git-send-email-milan.lakhani@codethink.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] kernel: trace: Remove unneeded initialization in trace_uprobe.c | expand |
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c index 3cf7128..c7c7070 100644 --- a/kernel/trace/trace_uprobe.c +++ b/kernel/trace/trace_uprobe.c @@ -541,7 +541,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]) {
In trace_uprobe.c, trace_uprobe_create assigns ret to 0 but then never uses this value. CC: lukas.bulwahn@gmail.com Signed-off-by: Milan Lakhani <milan.lakhani@codethink.co.uk> --- kernel/trace/trace_uprobe.c | 1 - 1 file changed, 1 deletion(-)