summaryrefslogtreecommitdiffstats
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-23 16:57:21 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-01 22:21:58 +0900
commitd2665ca8e3310d045b62397590ab54dc485e035e (patch)
tree700be1f04bbd9611daaae860ed06e74e6a1a7366 /kernel/ksysfs.c
parentf880eea68fe593342fa6e09be9bb661f3c297aec (diff)
downloadlinux-d2665ca8e3310d045b62397590ab54dc485e035e.tar.bz2
modpost: refactor seen flag clearing in add_depends()
You do not need to iterate over all modules for resetting ->seen flag because add_depends() is only interested in modules that export symbols referenced from the given 'mod'. This also avoids shadowing the 'modules' parameter of add_depends(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions