summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-14 00:24:39 -0400
committerIan Moffett <ian@osmora.org>2024-07-14 00:24:39 -0400
commit8618573a496fb0c290b40e4c09865deee30f3cc4 (patch)
treeac1d5002c9d0557b2476d2f517af1cfeeac2d8eb
parentce3993db402820f3d908ab630b117d1cf59858b1 (diff)
kernel: nvme: Remove command error check for now
Signed-off-by: Ian Moffett <ian@osmora.org>
-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");