[libvirt] [PATCH 03/12] storage_util: Remove unnecessary check

Peter Krempa pkrempa at redhat.com
Tue May 15 13:19:18 UTC 2018


On Tue, May 08, 2018 at 08:47:56 -0400, John Ferlan wrote:
> Commit id 'a48c71411' altered the logic a bit and didn't
> remove an unnecessary check as info.encryption is true when
> vol->target.encryption != NULL, so if we enter the if segment
> with info.format == VIR_STORAGE_FILE_RAW && vol->target.encryption
> != NULL, then there's no way info.encryption could be false.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/storage/storage_util.c | 5 -----
>  1 file changed, 5 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180515/dd9a309e/attachment-0001.sig>


More information about the libvir-list mailing list