X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=scripts%2Fcheck-sysctl-docs;h=edc9a629d79ebe6493c2e0b5b5a571dae1c37faa;hb=fc8ac3e539561aff1c0a255d701d9412d425373c;hp=8bcb9e26c7bca0b01b3f419d976b4d350a6568bd;hpb=f13242d2c5f773428da95f9aa1231f3b2cc64ea4;p=linux-block.git diff --git a/scripts/check-sysctl-docs b/scripts/check-sysctl-docs index 8bcb9e26c7bc..edc9a629d79e 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]) {