aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-ccw.c
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2018-07-23 18:32:21 +0200
committerCornelia Huck <cohuck@redhat.com>2018-08-20 14:18:49 +0200
commit36699ab480340b928f2e589d83a94e6786e1965b (patch)
treef153aca5a4a4d2f0fe0fe920a0c66e6523c9727d /hw/s390x/s390-ccw.c
parenta5f9ecc49d63a905da6598900e0a0eeec1ef269d (diff)
downloadqemu-36699ab480340b928f2e589d83a94e6786e1965b.zip
qemu-36699ab480340b928f2e589d83a94e6786e1965b.tar.gz
qemu-36699ab480340b928f2e589d83a94e6786e1965b.tar.bz2
s390x: remove 's390-squash-mcss' option
This option has been deprecated for two releases; remove it. Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/s390-ccw.c')
-rw-r--r--hw/s390x/s390-ccw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/s390x/s390-ccw.c b/hw/s390x/s390-ccw.c
index 214c940..cad91ee 100644
--- a/hw/s390x/s390-ccw.c
+++ b/hw/s390x/s390-ccw.c
@@ -67,8 +67,6 @@ static void s390_ccw_realize(S390CCWDevice *cdev, char *sysfsdev, Error **errp)
CcwDevice *ccw_dev = CCW_DEVICE(cdev);
CCWDeviceClass *ck = CCW_DEVICE_GET_CLASS(ccw_dev);
DeviceState *parent = DEVICE(ccw_dev);
- BusState *qbus = qdev_get_parent_bus(parent);
- VirtualCssBus *cbus = VIRTUAL_CSS_BUS(qbus);
SubchDev *sch;
int ret;
Error *err = NULL;
@@ -78,7 +76,7 @@ static void s390_ccw_realize(S390CCWDevice *cdev, char *sysfsdev, Error **errp)
goto out_err_propagate;
}
- sch = css_create_sch(ccw_dev->devno, cbus->squash_mcss, &err);
+ sch = css_create_sch(ccw_dev->devno, &err);
if (!sch) {
goto out_mdevid_free;
}