diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-10-10 15:54:37 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-11-14 16:28:56 +0100 |
commit | 99b4ddd8b76a6f60a8c2b3775849d65d21a418fc (patch) | |
tree | d91a9af0d7e6ff03a3e35c7865c83d93b78f8bc5 /net/wireless | |
parent | cdb2256f795e8e78cc43f32d091695b127dfb4df (diff) | |
download | linux-99b4ddd8b76a6f60a8c2b3775849d65d21a418fc.tar.bz2 |
mmc: core: Drop check for mmc_card_is_removable() in mmc_rescan()
Upfront in mmc_rescan() we use the host->rescan_entered flag, to allow
scanning only once for non-removable cards. Therefore, it's also not
possible that we can have a corresponding card bus attached (host->bus_ops
is NULL), when we are scanning non-removable cards.
For this reason, let' drop the check for mmc_card_is_removable() as it's
redundant.
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions