mirror of
https://github.com/torvalds/linux
synced 2024-10-07 03:42:55 +00:00
net: sunrpc: Remove the now superfluous sentinel elements 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 element from ctl_table structs. Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
92bedf0783
commit
ca5d1fce79
|
@ -160,7 +160,6 @@ static struct ctl_table debug_table[] = {
|
||||||
.mode = 0444,
|
.mode = 0444,
|
||||||
.proc_handler = proc_do_xprt,
|
.proc_handler = proc_do_xprt,
|
||||||
},
|
},
|
||||||
{ }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -209,7 +209,6 @@ static struct ctl_table svcrdma_parm_table[] = {
|
||||||
.extra1 = &zero,
|
.extra1 = &zero,
|
||||||
.extra2 = &zero,
|
.extra2 = &zero,
|
||||||
},
|
},
|
||||||
{ },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void svc_rdma_proc_cleanup(void)
|
static void svc_rdma_proc_cleanup(void)
|
||||||
|
|
|
@ -137,7 +137,6 @@ static struct ctl_table xr_tunables_table[] = {
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_dointvec,
|
.proc_handler = proc_dointvec,
|
||||||
},
|
},
|
||||||
{ },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -160,7 +160,6 @@ static struct ctl_table xs_tunables_table[] = {
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_dointvec_jiffies,
|
.proc_handler = proc_dointvec_jiffies,
|
||||||
},
|
},
|
||||||
{ },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue