summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio_ops.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-08 11:15:25 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 11:02:47 +0100
commit0899e741938758e20cbca055f66b0f5558da7a49 (patch)
tree6f406057302e7e47c01e7e923895d9c6d961931b /drivers/mmc/core/sdio_ops.c
parent62c03ca3ffa1ddf55a66411be02f7e4678771fce (diff)
downloadlinux-0899e741938758e20cbca055f66b0f5558da7a49.tar.bz2
mmc: remove unnecessary assignment statements before return
Variable assignment just before return is redundant. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sdio_ops.c')
-rw-r--r--drivers/mmc/core/sdio_ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/sdio_ops.c b/drivers/mmc/core/sdio_ops.c
index 62508b457c4f..34f6e8015306 100644
--- a/drivers/mmc/core/sdio_ops.c
+++ b/drivers/mmc/core/sdio_ops.c
@@ -217,7 +217,6 @@ int sdio_reset(struct mmc_host *host)
else
abort |= 0x08;
- ret = mmc_io_rw_direct_host(host, 1, 0, SDIO_CCCR_ABORT, abort, NULL);
- return ret;
+ return mmc_io_rw_direct_host(host, 1, 0, SDIO_CCCR_ABORT, abort, NULL);
}