commit | 0ce6ae80c38036b49caf098bd16c0413caff6a17 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Thu Aug 18 14:15:20 2022 -0700 |
committer | David Ahern <dsahern@kernel.org> | Wed Aug 24 08:53:55 2022 -0700 |
tree | de6c6c22baaef4ddba28121000df698519e47bf9 | |
parent | 700a8991f05e6e37889101196a531cf82777bdf7 [diff] |
devlink: use dl_no_arg instead of checking dl_argc == 0 Use the helper dl_no_arg function to check for whether the command has any arguments. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David Ahern <dsahern@kernel.org>