diff options
| author | Jiri Pirko <jiri@nvidia.com> | 2022-08-26 14:04:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-31 08:51:03 +0300 |
| commit | 4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2 (patch) | |
| tree | 03ea3da0204bb1de498fc1a29815720dfa2ff1a1 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 1390d912b932557121d6e86eedae0aa89258d2cd (diff) | |
| download | linux-4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2.tar.xz | |
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 <jiri@nvidia.com>
Acked-by: Dimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20220826110411.1409446-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
