aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/check-sysctl-docs
diff options
authorGeoff Levand <geoff@infradead.org>2023-06-26 08:17:16 -0500
committerGeoff Levand <geoff@infradead.org>2023-06-26 08:17:16 -0500
commit98ec4e7cee0f26a1af070ffc697d82c0f2714848 (patch)
treeae7176bc5d6ad1cc65476e71e98142b91450956d /scripts/check-sysctl-docs
parent917ca4e843ee2239821d891825ec4f121f97caa4 (diff)
parent84506709c1c3fcb2422eeee9e99fc93dffbaf289 (diff)
downloadps3-linux-master.tar.gz
Merge branch 'ps3-queue-v6.4'HEADmaster
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'scripts/check-sysctl-docs')
-rwxr-xr-xscripts/check-sysctl-docs16
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/check-sysctl-docs b/scripts/check-sysctl-docs
index 8bcb9e26c7bca0..edc9a629d79ebe 100755
--- a/scripts/check-sysctl-docs
+++ b/scripts/check-sysctl-docs
@@ -156,22 +156,6 @@ curtable && /\.procname[\t ]*=[\t ]*".+"/ {
}
}
-/register_sysctl_paths\(.*\)/ {
- match($0, /register_sysctl_paths\(([^)]+), ([^)]+)\)/, tables)
- if (debug) print "Attaching table " tables[2] " to path " tables[1]
- if (paths[tables[1]] == table) {
- for (entry in entries[tables[2]]) {
- printentry(entry)
- }
- }
- split(paths[tables[1]], components, "/")
- if (length(components) > 1 && components[1] == table) {
- # Count the first subdirectory as seen
- seen[components[2]]++
- }
-}
-
-
END {
for (entry in documented) {
if (!seen[entry]) {