* [PATCH] ata: sata_rcar: Remove unused variable in sata_rcar_init_controller()
@ 2018-02-13 12:43 Geert Uytterhoeven
2018-02-13 14:40 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2018-02-13 12:43 UTC (permalink / raw)
To: Tejun Heo, Yoshihiro Kaneko
Cc: linux-ide, linux-renesas-soc, Geert Uytterhoeven
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>
---
drivers/ata/sata_rcar.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c
index 6f47ca34767d74fe..6456e07db72a7ea4 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) {
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ata: sata_rcar: Remove unused variable in sata_rcar_init_controller()
2018-02-13 12:43 [PATCH] ata: sata_rcar: Remove unused variable in sata_rcar_init_controller() Geert Uytterhoeven
@ 2018-02-13 14:40 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2018-02-13 14:40 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Yoshihiro Kaneko, linux-ide, linux-renesas-soc
On Tue, Feb 13, 2018 at 01:43:23PM +0100, Geert Uytterhoeven wrote:
> 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>
Applied to libata/for-4.16-fixes.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-13 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-13 12:43 [PATCH] ata: sata_rcar: Remove unused variable in sata_rcar_init_controller() Geert Uytterhoeven
2018-02-13 14:40 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox