]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools/modprobe: initialize msec variables as needed
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 29 May 2025 14:31:36 +0000 (15:31 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 11 Jun 2025 12:54:40 +0000 (07:54 -0500)
commit72dfead09b39d78cb99af85bd9247a9aa4d2b475
tree60888aaa6b7145077172a568f815fe3bcd9993ba
parentaffec6677ab46b986bac8177791ec0ca5c505128
tools/modprobe: initialize msec variables as needed

Remove the initialization for interval_msec and tend_msec. They are set
on the first iteration... Assuming the user has set non-zero wait time.

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