[libvirt PATCH v2 3/3] nodedev: remove unnecessary checks for NULL cmd

Michal Privoznik mprivozn at redhat.com
Wed Apr 21 15:56:20 UTC 2021


On 4/21/21 5:52 PM, Jonathon Jongsma wrote:
> virCommandRun() already handles the case where the cmd argument is NULL,
> so there's no need for the caller to check. Make all callers consistent
> and remove unnecessary NULL checks.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
>   src/node_device/node_device_driver.c | 6 ------
>   1 file changed, 6 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list