aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-11-04 10:25:13 +0800
committerJakub Kicinski <[email protected]>2022-11-04 19:28:06 -0700
commit552acbf576fb7cb7ec70e978ca148dfbdae12a0e (patch)
tree2f873637d97eebb01f71c3461f294562209e870a /tools/perf/scripts/python/stackcollapse.py
parent95ec6bce2a0bb7ec9c76fe5c2a9db3b9e62c950d (diff)
net: remove redundant check in ip_metrics_convert()
Now ip_metrics_convert() is only called by ip_fib_metrics_init(). Before ip_fib_metrics_init() invokes ip_metrics_convert(), it checks whether input parameter fc_mx is NULL. Therefore, ip_metrics_convert() doesn't need to check fc_mx. Signed-off-by: Zhengchao Shao <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions