Skip to content

Commit 3c2461f

Browse files
Joelgranadosmcgrof
authored andcommitted
macintosh: Remove the 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 sentinel from mac_hid_files Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent 0829381 commit 3c2461f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/macintosh/mac_hid.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ static struct ctl_table mac_hid_files[] = {
236236
.mode = 0644,
237237
.proc_handler = proc_dointvec,
238238
},
239-
{ }
240239
};
241240

242241
static struct ctl_table_header *mac_hid_sysctl_header;

0 commit comments

Comments
 (0)