projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nvme-rdma: initialize ret to zero to avoid returning garbage
[cascardo/linux.git]
/
drivers
/
nvme
/
host
/
rdma.c
diff --git
a/drivers/nvme/host/rdma.c
b/drivers/nvme/host/rdma.c
index
8d2875b
..
9c69393
100644
(file)
--- a/
drivers/nvme/host/rdma.c
+++ b/
drivers/nvme/host/rdma.c
@@
-1319,7
+1319,7
@@
out_destroy_queue_ib:
static int nvme_rdma_device_unplug(struct nvme_rdma_queue *queue)
{
struct nvme_rdma_ctrl *ctrl = queue->ctrl;
- int ret;
+ int ret
= 0
;
/* Own the controller deletion */
if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_DELETING))