staging: mt7621-mmc: Remove redundant host->mmc->f_max write
This is set once during initialization and never changed. Don't bother setting it again in the interrupt handler. Signed-off-by: George Hilliard <thirtythreeforty@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
472033f591
commit
6d0e4698c8
|
@ -209,7 +209,6 @@ static void msdc_tasklet_card(struct work_struct *work)
|
|||
host->card_inserted = inserted;
|
||||
|
||||
if (!host->suspend) {
|
||||
host->mmc->f_max = HOST_MAX_MCLK;
|
||||
mmc_detect_change(host->mmc, msecs_to_jiffies(20));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue