diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-12 23:48:03 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-12 23:48:03 -0400 |
commit | d8ec9ca94a9e7c716b946f54273bf4bdca385a78 (patch) | |
tree | 4cdf3d346d776fbde336c79f7ee77166f00f6da4 | |
parent | 2edb6fe21b289eb68790d817f369cdb631bf507b (diff) |
kernel: nvme: Remove useless check
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/dev/ic/nvme.c | 4 |
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) |