aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-27 13:23:20 +0000
committerPetr Pavlu <[email protected]>2025-01-26 12:05:24 +0000
commitd8959b947a8dfab1047c6fd5e982808f65717bfe (patch)
treebd2ecf98996e6a6e5c8eb351d589bc80abc5df45 /mm/debug.c
parentmodule: Constify 'struct module_attribute' (diff)
downloadkernel-d8959b947a8dfab1047c6fd5e982808f65717bfe.tar.gz
kernel-d8959b947a8dfab1047c6fd5e982808f65717bfe.zip
module: sysfs: Drop member 'module_sect_attrs::nsections'
The member is only used to iterate over all attributes in free_sect_attrs(). However the attribute group can already be used for that. Use the group and drop 'nsections'. Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Petr Pavlu <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/20241227-sysfs-const-bin_attr-module-v2-1-e267275f0f37@weissschuh.net Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions