summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Hilliard <thirtythreeforty@gmail.com>2019-03-18 20:20:09 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-20 08:23:18 +0100
commit6d0e4698c89aaf4c420817c66348a006e260b101 (patch)
tree70d53b9fc96667b4a4600c3aaefe4dfba5f11960
parent472033f59139299cab738add0fb3665751d04203 (diff)
downloadlinux-6d0e4698c89aaf4c420817c66348a006e260b101.tar.gz
linux-6d0e4698c89aaf4c420817c66348a006e260b101.tar.bz2
linux-6d0e4698c89aaf4c420817c66348a006e260b101.zip
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>
-rw-r--r--drivers/staging/mt7621-mmc/sd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 6f0c939247cb..7d735f0f6d24 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -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));
}