module: remove each_symbol_in_section
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 12:13:29 +0000 (13:13 +0100)
committerJessica Yu <jeyu@kernel.org>
Mon, 8 Feb 2021 11:24:54 +0000 (12:24 +0100)
commita7c38f2cd36be54ddae6dab7a5bd192c8d2c0d80
tree13430de0761794bc6b319539c8b17382dc3f9bba
parent922f2a7c822bf76dffb218331bd95b1eea3cf637
module: remove each_symbol_in_section

each_symbol_in_section just contains a trivial loop over its arguments.
Just open code the loop in the two callers.

Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
kernel/module.c