Skip to content
Commit d2665ca8 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent f880eea6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment