Skip to content

Commit e020e74

Browse files
Jovi Zhangtorvalds
authored andcommitted
sysctl: remove obsolete comments
ctl_unnumbered.txt have been removed in Documentation directory so just also remove this invalid comments [akpm@linux-foundation.org: fix Documentation/sysctl/00-INDEX, per Dave] Signed-off-by: Jovi Zhang <bookjovi@gmail.com> Cc: Dave Young <hidave.darkstar@gmail.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5561050 commit e020e74

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

‎Documentation/sysctl/00-INDEX‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ README
44
- general information about /proc/sys/ sysctl files.
55
abi.txt
66
- documentation for /proc/sys/abi/*.
7-
ctl_unnumbered.txt
8-
- explanation of why one should not add new binary sysctl numbers.
97
fs.txt
108
- documentation for /proc/sys/fs/*.
119
kernel.txt

‎kernel/sysctl.c‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,6 @@ static struct ctl_table root_table[] = {
246246
.mode = 0555,
247247
.child = dev_table,
248248
},
249-
/*
250-
* NOTE: do not add new entries to this table unless you have read
251-
* Documentation/sysctl/ctl_unnumbered.txt
252-
*/
253249
{ }
254250
};
255251

@@ -972,10 +968,6 @@ static struct ctl_table kern_table[] = {
972968
.proc_handler = proc_dointvec,
973969
},
974970
#endif
975-
/*
976-
* NOTE: do not add new entries to this table unless you have read
977-
* Documentation/sysctl/ctl_unnumbered.txt
978-
*/
979971
{ }
980972
};
981973

@@ -1336,11 +1328,6 @@ static struct ctl_table vm_table[] = {
13361328
.extra2 = &one,
13371329
},
13381330
#endif
1339-
1340-
/*
1341-
* NOTE: do not add new entries to this table unless you have read
1342-
* Documentation/sysctl/ctl_unnumbered.txt
1343-
*/
13441331
{ }
13451332
};
13461333

@@ -1496,10 +1483,6 @@ static struct ctl_table fs_table[] = {
14961483
.proc_handler = &pipe_proc_fn,
14971484
.extra1 = &pipe_min_size,
14981485
},
1499-
/*
1500-
* NOTE: do not add new entries to this table unless you have read
1501-
* Documentation/sysctl/ctl_unnumbered.txt
1502-
*/
15031486
{ }
15041487
};
15051488

0 commit comments

Comments
 (0)