Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fw loader: 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 firmware_config_table

Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>

authored by

Joel Granados and committed by
Luis Chamberlain
febce069 3af80b24

-1
-1
drivers/base/firmware_loader/fallback_table.c
··· 44 44 .extra1 = SYSCTL_ZERO, 45 45 .extra2 = SYSCTL_ONE, 46 46 }, 47 - { } 48 47 }; 49 48 50 49 static struct ctl_table_header *firmware_config_sysct_table_header;