]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: Remove unneeded check
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 16 Aug 2024 21:54:57 +0000 (23:54 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 17 Aug 2024 17:14:16 +0000 (12:14 -0500)
commit34aaf08e51b50e020ae71eebdf04286f992c15a8
treec36daafb65ebe4ab34fd9abe7ede5a14670774eb
parenta5031e2811baf2b277ac718c90e3031aea4ec079
depmod: Remove unneeded check

Calling free(NULL) is valid. No need for previous if-check.

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/79
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/depmod.c