/* RETURNS: Associated ATA device, or NULL if not found.  */
static struct ata_device * ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev)
/* RETURNS: Associated ATA device, or NULL if not found.  */
static struct ata_device * ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev)
{
	struct ata_device *dev = __ata_scsi_find_dev(ap, scsidev);
	if (unlikely(!dev || !ata_dev_enabled(dev)))
		return NULL;
	return dev;
}