aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-10-02 10:55:19 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2023-10-11 12:16:13 -0700
commit23b69088db836470b0e8847f3bc65165f2bdfbdc (patch)
tree68c0e60dada20f482ef6ffcede732cba7c537683 /drivers/char
parent8f06eef7b80cebd410a5e13e740f7e00b3c22e3d (diff)
downloadlinux-23b69088db836470b0e8847f3bc65165f2bdfbdc.tar.gz
hpet: Remove now superfluous sentinel element from ctl_table array
This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) Remove the last empty element from hpet_table. Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hpet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index ee71376f174b7..f09c79081b01b 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -728,7 +728,6 @@ static struct ctl_table hpet_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec,
},
- {}
};
static struct ctl_table_header *sysctl_header;