qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1497711] [NEW] tests/libqos/ahci.c:745: redundant


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [Bug 1497711] [NEW] tests/libqos/ahci.c:745: redundant condition ?
Date: Fri, 16 Oct 2015 14:09:23 +0200
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Sep 20, 2015 at 10:08:49AM -0000, dcb wrote:
> Public bug reported:
> 
> [qemu/tests/libqos/ahci.c:745]: (style) Redundant condition: props.ncq.
> '!props.ncq || (props.ncq && props.lba48)' is equivalent to '!props.ncq
> || props.lba48'
> 
>     g_assert(!props->ncq || (props->ncq && props->lba48));

CCing John Snow, AHCI maintainer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]