commit | 922f893e57da24bc80db3e79bea56485d1c111fa | [log] [tgz] |
---|---|---|
author | John Snow <jsnow@redhat.com> | Sat Jul 04 02:06:04 2015 -0400 |
committer | John Snow <jsnow@redhat.com> | Sat Jul 04 02:06:04 2015 -0400 |
tree | a87bf538dc4a8b5b6cccc47d690dd5e5ea5aa862 | |
parent | 4614619ee4ad96d2715dc41f9430fb43335c15d2 [diff] |
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