summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_mpc52xx.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-10-13 22:36:57 -0600
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 08:57:30 -0700
commit80d4b4169e46949e1919d470ebc508cf4fbf0996 (patch)
treea70f553b8738989dd9896e4ccdf9ce1c632ce947 /drivers/ata/pata_mpc52xx.c
parent86a2249d69ff8bb9ecadb5830c2fcfdf10dc70b9 (diff)
mpc52xx-ata: fix compile warning (unused variable)
Trivial unused variable fix Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
-rw-r--r--drivers/ata/pata_mpc52xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 412140f02853..50c56e2814c1 100644
--- a/drivers/ata/pata_mpc52xx.c
+++ b/drivers/ata/pata_mpc52xx.c
@@ -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)