Message ID | 20210215195313.90231-1-colin.king@canonical.com |
---|---|
State | Superseded |
Headers | show |
Series | [next] cxl/mem: remove redundant initialization of variable rc | expand |
diff --git a/drivers/cxl/mem.c b/drivers/cxl/mem.c index 3bca8451348a..81e557a54fa4 100644 --- a/drivers/cxl/mem.c +++ b/drivers/cxl/mem.c @@ -383,8 +383,8 @@ static int __cxl_mem_mbox_send_cmd(struct cxl_mem *cxlm, static int cxl_mem_mbox_get(struct cxl_mem *cxlm) { struct device *dev = &cxlm->pdev->dev; - int rc = -EBUSY; u64 md_status; + int rc; mutex_lock_io(&cxlm->mbox_mutex);