aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio.c
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2021-01-18 16:45:20 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2021-02-01 11:54:48 +0100
commitbd7342fea7f88863605fabce103ff0dc5d488276 (patch)
tree58f448173f8d0ffc81f1a2f1cf1af636859fe969 /drivers/mmc/core/sdio.c
parentMAINTAINERS: Add entry for the ASPEED SD/MMC driver (diff)
downloadlinux-dev-bd7342fea7f88863605fabce103ff0dc5d488276.tar.xz
linux-dev-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.c2
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;