]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/ide/ide-floppy.c
reset: meson: remove unneeded check in meson_reset_reset
[mirror_ubuntu-bionic-kernel.git] / drivers / ide / ide-floppy.c
index 627b1f62a7496f86b952e2dee9f771260cc29de0..3ddd88219906bf17307aa48e57715ca23ca9a5bf 100644 (file)
@@ -72,7 +72,7 @@ static int ide_floppy_callback(ide_drive_t *drive, int dsc)
                drive->failed_pc = NULL;
 
        if (pc->c[0] == GPCMD_READ_10 || pc->c[0] == GPCMD_WRITE_10 ||
-           (req_op(rq) == REQ_OP_SCSI_IN || req_op(rq) == REQ_OP_SCSI_OUT))
+           blk_rq_is_scsi(rq))
                uptodate = 1; /* FIXME */
        else if (pc->c[0] == GPCMD_REQUEST_SENSE) {