[PATCH 1/2] mpc52xx-ata: fix compile warning (unused variable)
Grant Likely
grant.likely at secretlab.ca
Sun Oct 14 14:36:57 EST 2007
From: Grant Likely <grant.likely at secretlab.ca>
Trivial unused variable fix
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
---
drivers/ata/pata_mpc52xx.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 099f4cd..f1c3f4d 100644
--- a/drivers/ata/pata_mpc52xx.c
+++ b/drivers/ata/pata_mpc52xx.c
@@ -309,7 +309,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)
More information about the Linuxppc-dev
mailing list