diff mbox series

[4/4] sysctl: remove unnecessary sentinel element

Message ID 20240222-sysctl-empty-dir-v1-4-45ba9a6352e8@weissschuh.net (mailing list archive)
State New
Headers show
Series sysctl: move sysctl type to ctl_table_header | expand

Commit Message

Thomas Weißschuh Feb. 22, 2024, 7:07 a.m. UTC
The previous commits made this sentinel element unnecessary, remove it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 fs/proc/proc_sysctl.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 4cdf98c6a9a4..7c0e27dc3d9d 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -30,9 +30,7 @@  static const struct file_operations proc_sys_dir_file_operations;
 static const struct inode_operations proc_sys_dir_operations;
 
 /* Support for permanently empty directories */
-static struct ctl_table sysctl_mount_point[] = {
-	{ }
-};
+static struct ctl_table sysctl_mount_point[] = { };
 
 /**
  * register_sysctl_mount_point() - registers a sysctl mount point