Skip to content

Commit dd6291c

Browse files
Joelgranadosmcgrof
authored andcommitted
raid: 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 raid_table Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent febce06 commit dd6291c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/md/md.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ static struct ctl_table raid_table[] = {
305305
.mode = S_IRUGO|S_IWUSR,
306306
.proc_handler = proc_dointvec,
307307
},
308-
{ }
309308
};
310309

311310
static int start_readonly;

0 commit comments

Comments
 (0)