Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: mediatek: remove useless data parameter from msdc_data_xfer_next()

We do not use the 'data' in msdc_data_xfer_next().

Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210517105432.1682-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Yue Hu and committed by
Ulf Hansson
f0ed43ed 15107135

+2 -3
+2 -3
drivers/mmc/host/mtk-sd.c
··· 1347 1347 } 1348 1348 } 1349 1349 1350 - static void msdc_data_xfer_next(struct msdc_host *host, 1351 - struct mmc_request *mrq, struct mmc_data *data) 1350 + static void msdc_data_xfer_next(struct msdc_host *host, struct mmc_request *mrq) 1352 1351 { 1353 1352 if (mmc_op_multi(mrq->cmd->opcode) && mrq->stop && !mrq->stop->error && 1354 1353 !mrq->sbc) ··· 1406 1407 (int)data->error, data->bytes_xfered); 1407 1408 } 1408 1409 1409 - msdc_data_xfer_next(host, mrq, data); 1410 + msdc_data_xfer_next(host, mrq); 1410 1411 done = true; 1411 1412 } 1412 1413 return done;