summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-10-02 10:55:30 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2023-10-11 12:16:13 -0700
commitdd6291c506490c195620b394dc96763675e7e5f4 (patch)
tree4d18e24913d8dab0e567bb1b7c5a6a4b075e975b /drivers/md
parentfebce0693e3a8209f442b4abbdba71c918c7edc7 (diff)
downloadlinux-dd6291c506490c195620b394dc96763675e7e5f4.tar.gz
linux-dd6291c506490c195620b394dc96763675e7e5f4.tar.bz2
linux-dd6291c506490c195620b394dc96763675e7e5f4.zip
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index a104a025084d..3bdff9e03188 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -305,7 +305,6 @@ static struct ctl_table raid_table[] = {
.mode = S_IRUGO|S_IWUSR,
.proc_handler = proc_dointvec,
},
- { }
};
static int start_readonly;