ata-fsl: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-13 16:08:23 -07:00
parent 43629a8b18
commit 718fe5ddfa

View file

@ -68,8 +68,6 @@ static int imx_ata_setmode(device_t dev, int target, int mode);
static int
imx_ata_probe(device_t dev)
{
struct ata_pci_controller *ctrl;
if (!ofw_bus_status_okay(dev))
return (ENXIO);
@ -77,8 +75,6 @@ imx_ata_probe(device_t dev)
!ofw_bus_is_compatible(dev, "fsl,imx53-ata"))
return (ENXIO);
ctrl = device_get_softc(dev);
device_set_desc(dev, "Freescale Integrated PATA Controller");
return (BUS_PROBE_LOW_PRIORITY);
}