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:
Родитель
8c080bd0a1
Коммит
590aeeddc6
|
@ -2326,21 +2326,11 @@ retry:
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
|
|
||||||
/* normal recovery for basedev IO */
|
/* normal recovery for basedev IO */
|
||||||
if (__dasd_sleep_on_erp(cqr)) {
|
if (__dasd_sleep_on_erp(cqr))
|
||||||
|
/* handle erp first */
|
||||||
goto retry;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче