mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
ata-fsl: Remove unused variable.
This commit is contained in:
parent
43629a8b18
commit
718fe5ddfa
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue