aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2022-08-26 13:04:11 +0200
committerJakub Kicinski <[email protected]>2022-08-30 22:51:03 -0700
commit4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2 (patch)
tree03ea3da0204bb1de498fc1a29815720dfa2ff1a1 /tools/perf/scripts/python/intel-pt-events.py
parent1390d912b932557121d6e86eedae0aa89258d2cd (diff)
funeth: remove pointless check of devlink pointer in create/destroy_netdev() flows
Once devlink port is successfully registered, the devlink pointer is not NULL. Therefore, the check is going to be always true and therefore pointless. Remove it. Signed-off-by: Jiri Pirko <[email protected]> Acked-by: Dimitris Michailidis <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions