diff options
| author | Jianguo Wu <wujianguo@chinatelecom.cn> | 2021-05-27 16:54:27 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-05-28 13:59:16 -0700 |
| commit | ae514983f2e416cb1476bdd8e23b6d9be4ce94cd (patch) | |
| tree | bff61b4ccb277c72865074b0c00d08aa36ee5d30 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0a4d8e96e4fd687af92b961d5cdcea0fdbde05fe (diff) | |
| download | linux-ae514983f2e416cb1476bdd8e23b6d9be4ce94cd.tar.gz linux-ae514983f2e416cb1476bdd8e23b6d9be4ce94cd.zip | |
mptcp: remove redundant initialization in pm_nl_init_net()
Memory of struct pm_nl_pernet{} is allocated by kzalloc()
in setup_net()->ops_init(), so it's no need to reset counters
and zero bitmap in pm_nl_init_net().
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
