summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/nvme.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 951f3ac..69794ec 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -390,10 +390,6 @@ nvme_init_ns(struct nvme_ctrl *ctrl, uint8_t nsid)
goto done;
}
- if (status != 0) {
- goto done;
- }
-
TAILQ_INSERT_TAIL(&namespaces, ns, link);
done:
if (ns != NULL && status != 0)