mmc: of_mmc_spi: fix unused warning
commit96466fcb6c2a19da5c7abe38433688a5b73648c1
authorBrian Norris <computersforpeace@gmail.com>
Mon, 7 Mar 2016 23:36:39 +0000 (7 15:36 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:40 +0000 (17 14:54 +0100)
tree6d10ce2c067c32c3a819009fb95066600edd885c
parent91aa366109e801ef4755096248d7c66136f6e380
mmc: of_mmc_spi: fix unused warning

drivers/mmc/host/of_mmc_spi.c: In function 'mmc_spi_get_pdata':
drivers/mmc/host/of_mmc_spi.c:77:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  int ret = -EINVAL;
      ^

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/of_mmc_spi.c