]> err.no Git - linux-2.6/commitdiff
[libata] pata_ixp4xx: kill unused var
authorJeff Garzik <jeff@garzik.org>
Mon, 28 May 2007 13:03:51 +0000 (09:03 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 9 Jul 2007 16:17:34 +0000 (12:17 -0400)
Reported by Michael-Luke Jones.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_ixp4xx_cf.c

index 76332109a4f73dc813d804aa14ff14d7be83f4df..4ca7fd6118d50f6d52a1b7c464d1266614282b2d 100644 (file)
@@ -171,7 +171,6 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev)
        struct ata_host *host;
        struct ata_port *ap;
        struct ixp4xx_pata_data *data = pdev->dev.platform_data;
-       int rc;
 
        cs0 = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        cs1 = platform_get_resource(pdev, IORESOURCE_MEM, 1);