Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {