mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 21:21:47 +00:00
s390/dasd: remove unused code
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
8c080bd0a1
commit
590aeeddc6
@ -2326,21 +2326,11 @@ retry:
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user