]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Remove elf_find_section
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 20 Oct 2024 11:58:21 +0000 (13:58 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 22 Oct 2024 17:02:56 +0000 (12:02 -0500)
commit6d3aa4ed08d13b78bf3ed6aa8a58f72a11132c4e
treeb0f0f0dd6ab1bce8795a141df8f00152b6745350
parente4d7593818a9f347978620cae2629e223bd75a9e
libkmod: Remove elf_find_section

The function's purpose can be merged into elf_get_section. Reduces
amount of duplicated code.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/196
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c