From 8618573a496fb0c290b40e4c09865deee30f3cc4 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 14 Jul 2024 00:24:39 -0400 Subject: kernel: nvme: Remove command error check for now Signed-off-by: Ian Moffett --- sys/dev/ic/nvme.c | 6 ------ 1 file changed, 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"); -- cgit v1.2.3