aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-12 23:48:03 -0400
committerIan Moffett <ian@osmora.org>2024-07-12 23:48:03 -0400
commitd8ec9ca94a9e7c716b946f54273bf4bdca385a78 (patch)
tree4cdf3d346d776fbde336c79f7ee77166f00f6da4 /sys/dev/ic
parent2edb6fe21b289eb68790d817f369cdb631bf507b (diff)
kernel: nvme: Remove useless check
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic')
-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)