提交 590aeedd 编写于 作者: S Stefan Haberland 提交者: Martin Schwidefsky

s390/dasd: remove unused code

Signed-off-by: NStefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 8c080bd0
......@@ -2326,21 +2326,11 @@ static int _dasd_sleep_on_queue(struct list_head *ccw_queue, int interruptible)
return -EAGAIN;
/* normal recovery for basedev IO */
if (__dasd_sleep_on_erp(cqr)) {
if (__dasd_sleep_on_erp(cqr))
/* handle erp first */
goto retry;
/* remember that ERP was needed */
rc = 1;
/* skip processing for active cqr */
if (cqr->status != DASD_CQR_TERMINATED &&
cqr->status != DASD_CQR_NEED_ERP)
break;
}
}
/* start ERP requests in upper loop */
if (rc)
goto retry;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册