Skip to contentSkip to conversation

mmc: tmio: remove now unused variable

PATCH In review Wolfram Sang 2 participants 2 messages Aug 30, 2018

Subsystems (2)
lore
Share & tools
lore

Wolfram Sang

author maintainer
#0 lore raw

PATCH 1/1 mmc: tmio: remove now unused variable

This variable is unused now after some refactoring.

---
 drivers/mmc/host/tmio_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/tmio_mmc.c +1 -1
index 0ae100e62b57..29bda8224ae7 100644
@@ -45,7 +45,7 @@ static void tmio_mmc_clk_stop(struct tmio_mmc_host *host)
 static void tmio_mmc_set_clock(struct tmio_mmc_host *host,
 			       unsigned int new_clock)
 {
-	unsigned int clock, divisor;
+	unsigned int divisor;
 	u32 clk = 0;
 	int clk_sel;
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 3 lines · Wolfram Sang

This variable is unused now after some refactoring.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/tmio_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/tmio_mmc.c +1 -2
index 0ae100e62b57..29bda8224ae7 100644
@@ -45,7 +45,7 @@ static void tmio_mmc_clk_stop(struct tmio_mmc_host *host)
 static void tmio_mmc_set_clock(struct tmio_mmc_host *host,
                               unsigned int new_clock)
 {
-       unsigned int clock, divisor;
+       unsigned int divisor;
        u32 clk = 0;
        int clk_sel;
 
--

2.11.0