diff options
| author | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:04 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:04 -0400 |
| commit | 922f893e57da24bc80db3e79bea56485d1c111fa (patch) | |
| tree | a87bf538dc4a8b5b6cccc47d690dd5e5ea5aa862 /hw/core/qdev-properties-system.c | |
| parent | 4614619ee4ad96d2715dc41f9430fb43335c15d2 (diff) | |
| download | focaccia-qemu-922f893e57da24bc80db3e79bea56485d1c111fa.tar.gz focaccia-qemu-922f893e57da24bc80db3e79bea56485d1c111fa.zip | |
ahci: assert is_ncq for process_ncq
We already checked this in the handle_cmd phase, so just change this to an assertion and simplify the error logic. (Also, fix the switch indent, because checkpatch.pl yelled.) ((Sorry for churn.)) Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1435767578-32743-4-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions