git: 718fe5ddfae3 - main - ata-fsl: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Apr 2022 23:10:00 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=718fe5ddfae3a7a68b58542831a9bc692889760a commit 718fe5ddfae3a7a68b58542831a9bc692889760a Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:23 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:23 +0000 ata-fsl: Remove unused variable. --- sys/dev/ata/chipsets/ata-fsl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/ata/chipsets/ata-fsl.c b/sys/dev/ata/chipsets/ata-fsl.c index 25187390611a..4239ca6844a7 100644 --- a/sys/dev/ata/chipsets/ata-fsl.c +++ b/sys/dev/ata/chipsets/ata-fsl.c @@ -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); }