diff options
author | Yue Hu <huyue2@yulong.com> | 2021-01-18 09:45:20 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 11:54:48 +0100 |
commit | bd7342fea7f88863605fabce103ff0dc5d488276 (patch) | |
tree | 58f448173f8d0ffc81f1a2f1cf1af636859fe969 /drivers/mmc/core/sdio.c | |
parent | MAINTAINERS: Add entry for the ASPEED SD/MMC driver (diff) | |
download | linux-bd7342fea7f88863605fabce103ff0dc5d488276.tar.xz linux-bd7342fea7f88863605fabce103ff0dc5d488276.zip |
mmc: core: remove unused host parameter of mmc_sd_get_csd()
The host parameter is not used in the body of mmc_sd_get_csd(),
so let's remove it. Update related code at the same time.
Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210118084520.241-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sdio.c')
-rw-r--r-- | drivers/mmc/core/sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index 694a212cbe25..0fda7784cab2 100644 --- a/drivers/mmc/core/sdio.c +++ b/drivers/mmc/core/sdio.c @@ -751,7 +751,7 @@ try_again: * Read CSD, before selecting the card */ if (!oldcard && card->type == MMC_TYPE_SD_COMBO) { - err = mmc_sd_get_csd(host, card); + err = mmc_sd_get_csd(card); if (err) goto remove; |