Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dd146b7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: remove duplicate code in mmc_rescan"

parents 60c11583 2ffe104c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3380,13 +3380,6 @@ void mmc_rescan(struct work_struct *work)
	if (host->bus_dead)
		extend_wakelock = 1;


	/* If the card was removed the bus will be marked
	 * as dead - extend the wakelock so userspace
	 * can respond */
	if (host->bus_dead)
		extend_wakelock = 1;

	/*
	 * Let mmc_bus_put() free the bus/bus_ops if we've found that
	 * the card is no longer present.