summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-02-13 13:43:23 +0100
committerTejun Heo <tj@kernel.org>2018-02-13 15:39:38 +0100
commit8f8ca51dbb4da0457f57f83d94aea81931b0707a (patch)
treebd138b6b2de0857a7eda0412073f15554a8fafc3 /drivers/ata
parentlibata: transport: cleanup documentation of sysfs interface (diff)
downloadlinux-8f8ca51dbb4da0457f57f83d94aea81931b0707a.tar.xz
linux-8f8ca51dbb4da0457f57f83d94aea81931b0707a.zip
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: 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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_rcar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c
index 6f47ca34767d..6456e07db72a 100644
--- a/drivers/ata/sata_rcar.c
+++ b/drivers/ata/sata_rcar.c
@@ -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) {