summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2024-06-04 08:29:21 +0200
committerJoel Granados <j.granados@samsung.com>2024-06-13 10:50:52 +0200
commitd7a76ec87195ced6910b0ca10ca133bb316c90f5 (patch)
tree70fc6091ac3e45e52a446659907628231ff2397a /sound
parente2a6c472de7a5e5a1455a9fff1cfc55a1dd888af (diff)
downloadlinux-d7a76ec87195ced6910b0ca10ca133bb316c90f5.tar.gz
linux-d7a76ec87195ced6910b0ca10ca133bb316c90f5.tar.bz2
linux-d7a76ec87195ced6910b0ca10ca133bb316c90f5.zip
sysctl: Remove check for sentinel element in ctl_table arrays
Use ARRAY_SIZE exclusively by removing the check to ->procname in the stopping criteria of the loops traversing ctl_table arrays. This commit finalizes the removal of the sentinel elements at the end of ctl_table arrays which reduces the build time size and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) Remove the entry->procname evaluation from the for loop stopping criteria in sysctl and sysctl_net. Signed-off-by: Joel Granados <j.granados@samsung.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions