]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/vfio/ccw.c
hw/vfio/ccw: Remove pointless S390CCWDevice variable
[mirror_qemu.git] / hw / vfio / ccw.c
index 2ea7b4a63ce78908335764b3529a369d40868dd3..cd66b667425d9e76299f16ed8e001418f5f6e8c7 100644 (file)
@@ -314,8 +314,7 @@ static void vfio_ccw_io_notifier_handler(void *opaque)
 {
     VFIOCCWDevice *vcdev = opaque;
     struct ccw_io_region *region = vcdev->io_region;
-    S390CCWDevice *cdev = S390_CCW_DEVICE(vcdev);
-    CcwDevice *ccw_dev = CCW_DEVICE(cdev);
+    CcwDevice *ccw_dev = CCW_DEVICE(vcdev);
     SubchDev *sch = ccw_dev->sch;
     SCHIB *schib = &sch->curr_status;
     SCSW s;