mpc52xx-ata: fix compile warning (unused variable)
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 14 Oct 2007 04:36:57 +0000 (22:36 -0600)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 15:57:30 +0000 (08:57 -0700)
Trivial unused variable fix

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/pata_mpc52xx.c

index 412140f02853e687456c58969983814c009518aa..50c56e2814c1e0c6a777ed7ef80534d8e9012d73 100644 (file)
@@ -308,7 +308,6 @@ mpc52xx_ata_init_one(struct device *dev, struct mpc52xx_ata_priv *priv,
        struct ata_host *host;
        struct ata_port *ap;
        struct ata_ioports *aio;
-       int rc;
 
        host = ata_host_alloc(dev, 1);
        if (!host)