aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-06-05 14:04:13 +0300
committerDavid S. Miller <[email protected]>2020-06-05 13:10:02 -0700
commit178f67b1288b6952117fdc4e5ffbd4c4bd4e4a7f (patch)
tree1ec860fb6ae58be98d009b9a5975396b120b6b24 /tools/perf/util/scripting-engines/trace-event-python.c
parent7d877c35ca84cfa634fd63c2b64bf7b6ae9c71cb (diff)
ethtool: linkinfo: remove an unnecessary NULL check
This code generates a Smatch warning: net/ethtool/linkinfo.c:143 ethnl_set_linkinfo() warn: variable dereferenced before check 'info' (see line 119) Fortunately, the "info" pointer is never NULL so the check can be removed. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Michal Kubecek <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions