diff options
author | Zhengchao Shao <[email protected]> | 2024-01-02 15:15:19 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-03 16:42:48 -0800 |
commit | b4c1d4d9734cda4394da5b59ebf7d9ca3579561a (patch) | |
tree | 8400d14df4d65965f5dd3bb1e647a102d48c0041 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 5fe65375e3d45b9db11783eea067dfe404752d2f (diff) |
fib: remove unnecessary input parameters in fib_default_rule_add
When fib_default_rule_add is invoked, the value of the input parameter
'flags' is always 0. Rules uses kzalloc to allocate memory, so 'flags' has
been initialized to 0. Therefore, remove the input parameter 'flags' in
fib_default_rule_add.
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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions