mmc: rtsx_usb_sdmmc: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 20 Sep 2022 06:46:48 +0000 (06:46 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Sep 2022 12:18:15 +0000 (14:18 +0200)
commitaa8c8cd047467d4573ce042a76ba74191ddda7b4
treed86674c85916b3f66848ca193cbf79f366a4412a
parent3eb123142f6d66ff7542cbae5833bbc0ec88adb0
mmc: rtsx_usb_sdmmc: Remove the unneeded result variable

Return the value rtsx_usb_send_cmd() directly instead of storing it in
another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220920064648.215375-1-ye.xingchen@zte.com.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rtsx_usb_sdmmc.c