Commit 8f8ca51d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Tejun Heo

ata: sata_rcar: Remove unused variable in sata_rcar_init_controller()

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: da77d76b ("sata_rcar: Reset SATA PHY when Salvator-X board resumes")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent b1c7fe26
...@@ -818,7 +818,6 @@ static void sata_rcar_init_module(struct sata_rcar_priv *priv) ...@@ -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) static void sata_rcar_init_controller(struct ata_host *host)
{ {
struct sata_rcar_priv *priv = host->private_data; struct sata_rcar_priv *priv = host->private_data;
void __iomem *base = priv->base;
/* reset and setup phy */ /* reset and setup phy */
switch (priv->type) { switch (priv->type) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment