tests/libqos/ahci.c:745: redundant condition ?
Bug #1497711 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[qemu/tests/
g_assert(
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On Sun, Sep 20, 2015 at 10:08:49AM -0000, dcb wrote: libqos/ ahci.c: 745]: (style) Redundant condition: props.ncq. !props- >ncq || (props->ncq && props->lba48));
> Public bug reported:
>
> [qemu/tests/
> '!props.ncq || (props.ncq && props.lba48)' is equivalent to '!props.ncq
> || props.lba48'
>
> g_assert(
CCing John Snow, AHCI maintainer