2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00

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: da77d76b95 ("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>
This commit is contained in:
Geert Uytterhoeven 2018-02-13 13:43:23 +01:00 committed by Tejun Heo
parent b1c7fe26e0
commit 8f8ca51dbb

View 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) {