]> 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)
commit8d09d45f0a26fcff3932184b1d9e428572d9d92b
tree1047482f5d30b939ed38b6a755ef1e4a636c8c2e
parente7d8fd105adc3aa7625dfa695af9040edc5e104a
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