Commit 6d0e4698 authored by George Hilliard's avatar George Hilliard Committed by Greg Kroah-Hartman
Browse files

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: default avatarGeorge Hilliard <thirtythreeforty@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 472033f5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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));
	}