From: Grant Likely Date: Sun, 14 Oct 2007 04:36:57 +0000 (-0600) Subject: mpc52xx-ata: fix compile warning (unused variable) X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80d4b4169e46949e1919d470ebc508cf4fbf0996;p=linux-beck.git mpc52xx-ata: fix compile warning (unused variable) Trivial unused variable fix Signed-off-by: Grant Likely Signed-off-by: Linus Torvalds --- 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)