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)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 16:39:15 +0000 (12:39 -0400)
commit58a8a4a1a5da4694a3a069de5e0a8c15995e7b5f
tree8d3208b1b034f3a4408849d7b1941ff80a03bd48
parent017d84bd45d1d2e584d01f3875aacbfa481aa95a
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