]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sysctl: Remove ctl_table sentinel code comments
authorJoel Granados <j.granados@samsung.com>
Tue, 4 Jun 2024 06:29:25 +0000 (08:29 +0200)
committerJoel Granados <j.granados@samsung.com>
Thu, 13 Jun 2024 08:50:52 +0000 (10:50 +0200)
Remove the mention of a "zero terminated entry" from the
__register_sysctl_table function doc.

Signed-off-by: Joel Granados <j.granados@samsung.com>
fs/proc/proc_sysctl.c

index 985c1774a552f18c10715d6e2e788481f23b77ab..87396f9d599dbff5fcc7e384eb9afbbd8604caee 100644 (file)
@@ -1318,7 +1318,7 @@ static struct ctl_dir *sysctl_mkdir_p(struct ctl_dir *dir, const char *path)
  * @table_size : The number of elements in table
  *
  * Register a sysctl table hierarchy. @table should be a filled in ctl_table
- * array. A completely 0 filled entry terminates the table.
+ * array.
  *
  * The members of the &struct ctl_table structure are used as follows:
  * procname - the name of the sysctl file under /proc/sys. Set to %NULL to not