]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sysctl: Remove superfluous empty allocations from sysctl internals
authorJoel Granados <j.granados@samsung.com>
Tue, 4 Jun 2024 06:29:23 +0000 (08:29 +0200)
committerJoel Granados <j.granados@samsung.com>
Thu, 13 Jun 2024 08:50:52 +0000 (10:50 +0200)
commitaef9d25e7f5631543a0276d0532151f2c61174d6
tree1c93366724f77c13ba8cff35937993f321e27520
parent55bb7eb62db4995cec7e309c2b9a1070cfd60eb6
sysctl: Remove superfluous empty allocations from sysctl internals

Now that the sentinels have been removed from ctl_table arrays, there is
no need to artificially append empty ctl_table elements at ctl_table
registration. Remove superfluous empty allocation from new_dir and
new_links.

Signed-off-by: Joel Granados <j.granados@samsung.com>
fs/proc/proc_sysctl.c