OSDN Git Service

mmc: core: Remove unnecessary host claim
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 22 Sep 2017 12:36:50 +0000 (15:36 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:45:49 +0000 (11:45 +0100)
commit9ca28c5cd967e07e708a407eec59894e2e643670
tree5dc878b94f55a89a0cb3727a73391f480270f87d
parent1c87f73578497a6c3cc77bcbfd2e5bf15fe753c7
mmc: core: Remove unnecessary host claim

Callers already have the host claimed, so remove the unnecessary
calls to mmc_claim_host() and mmc_release_host().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c