modprobe: move check for remove_holders to caller
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 29 Mar 2022 09:05:39 +0000 (02:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 7 Apr 2022 05:04:38 +0000 (22:04 -0700)
commitd29ed6ef9f0db54acda5a51993bba7ff6f8ca7cd
tree5999d3f4bc9670f36efc3f98541ab6c74cb7e41e
parent42b32d30c38ef032f287957266a022eb28430bfc
modprobe: move check for remove_holders to caller

Do not mix the flags with and additional boolean from arguments.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
tools/modprobe.c