John Snow 922f893e57 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
2015-07-04 02:06:04 -04:00
..
2015-06-24 16:16:04 +01:00
2015-06-26 15:57:43 +01:00
2015-06-23 20:23:39 +03:00
2015-06-26 15:57:43 +01:00
2015-07-04 02:06:04 -04:00
2015-06-23 19:57:28 +03:00
2015-06-23 19:57:28 +03:00
2015-06-26 15:57:43 +01:00
2015-06-23 19:57:28 +03:00
2015-06-23 18:25:55 +01:00