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)
commit1896f14006b28a7ed6881666d18a244827af0a5b
tree1047482f5d30b939ed38b6a755ef1e4a636c8c2e
parentccd3e4c8c23d90928c75a090c6958c080ccdc47f
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