Skip to content

Commit febce06

Browse files
Joelgranadosmcgrof
authored andcommitted
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>
1 parent 3af80b2 commit febce06

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/base/firmware_loader/fallback_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ static struct ctl_table firmware_config_table[] = {
4444
.extra1 = SYSCTL_ZERO,
4545
.extra2 = SYSCTL_ONE,
4646
},
47-
{ }
4847
};
4948

5049
static struct ctl_table_header *firmware_config_sysct_table_header;

0 commit comments

Comments
 (0)