dm: dm-zoned: use __bio_add_page for adding single metadata page
[linux-block.git] / scripts / check-sysctl-docs
index 8bcb9e26c7bca0b01b3f419d976b4d350a6568bd..edc9a629d79ebe6493c2e0b5b5a571dae1c37faa 100755 (executable)
@@ -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]) {