[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] s390x/css: remove dubious error handling branch
From: |
Halil Pasic |
Subject: |
[Qemu-devel] [PATCH 3/4] s390x/css: remove dubious error handling branch |
Date: |
Fri, 8 Sep 2017 17:24:45 +0200 |
The case in question actually never happens. Let us get rid of the dead
code.
Signed-off-by: Halil Pasic <address@hidden>
---
hw/s390x/css.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/hw/s390x/css.c b/hw/s390x/css.c
index a44d87ab3e..a9cdd54efc 100644
--- a/hw/s390x/css.c
+++ b/hw/s390x/css.c
@@ -980,13 +980,6 @@ static void sch_handle_start_func_virtual(SubchDev *sch)
SCSW_STCTL_ALERT | SCSW_STCTL_STATUS_PEND;
s->cpa = sch->channel_prog + 8;
break;
- case -EBUSY:
- /* subchannel busy, generate deferred cc 1 */
- s->flags &= ~SCSW_FLAGS_MASK_CC;
- s->flags |= (1 << 8);
- s->ctrl &= ~SCSW_CTRL_MASK_STCTL;
- s->ctrl |= SCSW_STCTL_ALERT | SCSW_STCTL_STATUS_PEND;
- break;
case -EINPROGRESS:
/* channel program has been suspended */
s->ctrl &= ~SCSW_ACTL_START_PEND;
--
2.13.5
- [Qemu-devel] [PATCH 0/4] s390x/css: ccw interpretation fixes, Halil Pasic, 2017/09/08
- [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Halil Pasic, 2017/09/08
- Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Cornelia Huck, 2017/09/11
- Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Halil Pasic, 2017/09/11
- Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Cornelia Huck, 2017/09/12
- Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Halil Pasic, 2017/09/12
- Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Cornelia Huck, 2017/09/12
- Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication, Halil Pasic, 2017/09/12