-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
- The 1 && in the if condition is unnecessary
- The else if (status == NVME_SUCCESS) block will never be reached.
Lines 76 to 85 in 1c2d358
if (1 && status == NVME_SUCCESS) { | |
req->status = status; | |
int rc = femu_ring_enqueue(n->to_ftl[index_poller], (void *)&req, 1); | |
if (rc != 1) { | |
femu_err("enqueue failed, ret=%d\n", rc); | |
} | |
} else if (status == NVME_SUCCESS) { | |
/* Normal I/Os that don't need delay emulation */ | |
req->status = status; |
Metadata
Metadata
Assignees
Labels
No labels