OSDN Git Service

mmc: core: Drop retries as in-parameter to mmc_wait_for_app_cmd()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Feb 2019 14:17:13 +0000 (15:17 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 14:20:58 +0000 (15:20 +0100)
commit03cd5c05d4afbd635d5dc443b73a25eaee7ec260
tree46a9e230b1974469ce990c8f5d7b9761d176836c
parent9a4b869b0ca9a9e4d8497ecf20a1e3d6557b5426
mmc: core: Drop retries as in-parameter to mmc_wait_for_app_cmd()

All callers of mmc_wait_for_app_cmd() set the retries in-parameter to
MMC_CMD_RETRIES. This is silly, so let's just drop the in-parameter
altogether, as to simplify the code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd_ops.c