Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 590aeedd authored by Stefan Haberland's avatar Stefan Haberland Committed by Martin Schwidefsky
Browse files

s390/dasd: remove unused code

parent 8c080bd0
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -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;
}