[libvirt PATCH v2 1/3] qemu: remove unnecessary null check

Erik Skultety eskultet at redhat.com
Thu Apr 15 06:18:19 UTC 2021


On Wed, Apr 14, 2021 at 03:54:47PM -0500, Jonathon Jongsma wrote:
> virMediatedDeviceGetSysfsPath() (via g_strdup_printf()) is guaranteed to
> return a non-NULL value, so remove the unnecessary checks for NULL.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> Reviewed-by: Laine Stump <laine at redhat.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list