mmc: core: Remove unnecessary check for the remove callback
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:36 +0000 (17:03 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 04:54:56 +0000 (12:54 +0800)
commit0bdc9d6ec058bc0b382a8ff07ea381a3ffc6e92e
treebe88372eae666eb758d79fda64f015e60415a519
parente79fc06ce7036f6fe4471ff39c8868b80e36a1a7
mmc: core: Remove unnecessary check for the remove callback

For every bus_ops type the .remove callback always exist, thus there
are no need to check the existence of it, before we decide to call it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c