ata: sata_rcar: Remove unused variable in sata_rcar_init_controller()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Feb 2018 12:43:23 +0000 (13:43 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 13 Feb 2018 14:39:38 +0000 (06:39 -0800)
drivers/ata/sata_rcar.c: In function 'sata_rcar_init_controller':
drivers/ata/sata_rcar.c:821:8: warning: unused variable 'base' [-Wunused-variable]

Fixes: da77d76b95a0e894 ("sata_rcar: Reset SATA PHY when Salvator-X board resumes")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c

index 6f47ca3..6456e07 100644 (file)
@@ -818,7 +818,6 @@ static void sata_rcar_init_module(struct sata_rcar_priv *priv)
 static void sata_rcar_init_controller(struct ata_host *host)
 {
        struct sata_rcar_priv *priv = host->private_data;
-       void __iomem *base = priv->base;
 
        /* reset and setup phy */
        switch (priv->type) {