mmc: tmio: remove now unused variable
Subsystems (2)
Wolfram Sang
maintainerPATCH 1/1 mmc: tmio: remove now unused variable
This variable is unused now after some refactoring.
Signed-off-by Wolfram Sang <[email protected]>
--- drivers/mmc/host/tmio_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/tmio_mmc.c +1 -1
@@ -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
Quoted 3 lines · Wolfram Sang
This variable is unused now after some refactoring.
Signed-off-by Wolfram Sang <[email protected]>
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@@ -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