aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2021-05-08 18:37:16 +0800
committerSteven Rostedt (VMware) <[email protected]>2021-06-10 11:16:20 -0400
commit614db49c72db5ecf85ef94fe8bad7ebc88744ba9 (patch)
treed704897d50e2a838cead0748636924b1e6507a77 /scripts/gdb/linux/lists.py
parent58b9987de86cc5f154b5e91923676f952fcf8a93 (diff)
tracing: Remove redundant assignment to event_var
Variable event_var is set to 'ERR_PTR(-EINVAL)', but this value is never read as it is overwritten or not used later on, hence it is a redundant assignment and can be removed. Clean up the following clang-analyzer warning: kernel/trace/trace_events_hist.c:2437:21: warning: Value stored to 'event_var' during its initialization is never read [clang-analyzer-deadcode.DeadStores]. Link: https://lkml.kernel.org/r/1620470236-26562-1-git-send-email-jiapeng.chong@linux.alibaba.com Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions