diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-23 16:57:21 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-01 22:21:58 +0900 |
commit | d2665ca8e3310d045b62397590ab54dc485e035e (patch) | |
tree | 700be1f04bbd9611daaae860ed06e74e6a1a7366 /scripts/spdxcheck.py | |
parent | f880eea68fe593342fa6e09be9bb661f3c297aec (diff) | |
download | linux-d2665ca8e3310d045b62397590ab54dc485e035e.tar.gz |
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 'scripts/spdxcheck.py')
0 files changed, 0 insertions, 0 deletions