aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-30 20:29:13 -0400
committerIan Moffett <ian@osmora.org>2024-03-30 20:29:13 -0400
commitd60bc4044680c9bcc775c343a7f0c010f2710e21 (patch)
treeb1490d8d6096af5a73101abc7fced15b5a02d774
parent14c6487648771963e7688c4d6338392e60ee0d87 (diff)
kernel: nvme: Cleanup whitespace
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/dev/ic/nvme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 7b0e74f..25c1dd2 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -378,13 +378,11 @@ nvme_enable_controller(struct nvme_state *state)
}
id = dynalloc_memalign(sizeof(struct nvme_id), 0x1000);
-
if (id == NULL) {
return -1;
}
nsids = dynalloc_memalign(0x1000, 0x1000);
-
if (nsids == NULL) {
return -1;
}