aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/nvme.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 984d479..a9cbd2b 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -288,12 +288,6 @@ nvme_poll_submit_cmd(struct nvme_queue *q, struct nvme_cmd cmd)
break;
}
- /* Are any error bits set? */
- if ((status & ~1) != 0) {
- pr_trace("Command error (bits=0x%x)\n", status >> 1);
- return -EIO;
- }
-
/* Check for timeout */
if (spins > 5) {
pr_error("Hang while polling phase bit, giving up\n");