diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2023-03-02 23:28:23 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-05-03 05:23:29 +0300 |
commit | 9e7c73c0b9f49bc73818e08e6282a32b94d96168 (patch) | |
tree | fcc4c7db649ca650de3180956b309db5bd3195b6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 348551ddaf311c76b01cdcbaf61b6fef06a49144 (diff) | |
download | linux-9e7c73c0b9f49bc73818e08e6282a32b94d96168.tar.xz |
kernel: pid_namespace: simplify sysctls with register_sysctl()
register_sysctl_paths() is only required if your child (directories)
have entries and pid_namespace does not. So use register_sysctl_init()
instead where we don't care about the return value and use
register_sysctl() where we do.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Jeff Xu <jeffxu@google.com>
Link: https://lore.kernel.org/r/20230302202826.776286-9-mcgrof@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions