]> git.ipfire.org Git - thirdparty/kmod.git/commit
lsmod: Simplify code
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 22 Dec 2024 16:24:57 +0000 (17:24 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sun, 22 Dec 2024 21:19:01 +0000 (15:19 -0600)
commitad689ac6b7d3873e7239b9e78e7a768bdf63e397
tree605bf0ef0dc1b874bb3dab6c310bb9053489db56
parentccc26d6bf4ef4db9f4fcca3419f90ec0ccc65f88
lsmod: Simplify code

Reduces cyclomatic complexity and binary size.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/271
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/lsmod.c