Skip to content

Commit a90d3c4

Browse files
Joelgranadosmcgrof
authored andcommitted
Drivers: hv: 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 sentinel from hv_ctl_table Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent dd6291c commit a90d3c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/hv/hv_common.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ static struct ctl_table hv_ctl_table[] = {
148148
.extra1 = SYSCTL_ZERO,
149149
.extra2 = SYSCTL_ONE
150150
},
151-
{}
152151
};
153152

154153
static int hv_die_panic_notify_crash(struct notifier_block *self,

0 commit comments

Comments
 (0)