mmc: mmc_spi: Remove useless NULL check at ->remove()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Mar 2019 18:01:07 +0000 (20:01 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commit70a557e63f1a185d2126910b290d3fbf894bfb48
treeb66fe8e08189de2fb78d7e59591b10f243922736
parentb9ffe4086206d1aedb3c7e62249e84beefdc2bca
mmc: mmc_spi: Remove useless NULL check at ->remove()

The mmc pointer can't be NULL at ->remove(), drop the useless check.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmc_spi.c