]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: remove check of host->removed for rescan routine
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 19 Jul 2017 07:50:56 +0000 (15:50 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:33 +0000 (14:01 +0200)
commiteec637ed926e0483454fb232e713f8d62bd4908e
tree1047482f5d30b939ed38b6a755ef1e4a636c8c2e
parent909ebe603a7c2db4b7f9961c6745af59bf98c3b2
mmc: core: remove check of host->removed for rescan routine

The intention of this check was to prevent the conflict between
hotplug and removing driver for whatever reason. Currently it
doesn't improve anything and the following rescan process could
still saftly perform the scan flow. So these code seems pointless
now and let's remove them.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
include/linux/mmc/host.h