]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: inline _idx_empty_str
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 Nov 2024 14:32:39 +0000 (14:32 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 7 Nov 2024 19:43:49 +0000 (13:43 -0600)
commitcb1b1bbd7b03dc538e77dcc879d9a6fd4033cf71
tree2353826fb15b24d780658f0ea0623b3c7000b966
parentd1fe26b145e5afb50289c42d0a104b06a0639839
libkmod: inline _idx_empty_str

The compiler already creates an empty string as applicable, drop the
extra variable.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/224
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c