From: Jeff Garzik Date: Mon, 28 May 2007 13:03:51 +0000 (-0400) Subject: [libata] pata_ixp4xx: kill unused var X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5446b656ddebc2f3902242fda4e860fb343d2787;p=openwrt%2Fstaging%2Fblogic.git [libata] pata_ixp4xx: kill unused var Reported by Michael-Luke Jones. Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index 76332109a4f7..4ca7fd6118d5 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c @@ -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);