aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-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;
}