mmc: via-sdmmc: remove unneeded variable 'ret'
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 9 Mar 2021 06:47:58 +0000 (14:47 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:42:03 +0000 (11:42 +0200)
commit3a75283a6b12e60c902f5ca84b8a27010024ce69
tree3dd5dd34cafe65e8c13709b3d0fbac89cf9281e4
parentbaf6fe4036421ca9ebf5087c117ffe5bdb5dc436
mmc: via-sdmmc: remove unneeded variable 'ret'

Fix the following coccicheck warning:
./drivers/mmc/host/via-sdmmc.c:1274:5-8: Unneeded variable: "ret".
Return "0" on line 1295

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1615272478-52458-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/via-sdmmc.c