]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: Remove unused function for !CONFIG_OF
authorTobias Klauser <tklauser@distanz.ch>
Tue, 16 Sep 2014 07:54:55 +0000 (09:54 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Sep 2014 22:03:37 +0000 (00:03 +0200)
commit2f9ed5873eafd58cb278a2e9b8cbf4635d4a8e3e
tree350fe04e15bd907aa1e8194da7319d0d3c2d2273
parentb2dce6804c5170a1b5d2be3b9b3720f0b05cf442
mmc: dw_mmc: Remove unused function for !CONFIG_OF

dw_mci_of_find_slot_node() is only used in dw_mci_of_get_slot_quirks()
if CONFIG_OF is defined, thus there is no need to have a !CONFIG_OF
version of it. Fixes the following compile warning with !CONFIG_OF:

  CC [M]  drivers/mmc/host/dw_mmc.o
drivers/mmc/host/dw_mmc.c:2223:28: warning: ‘dw_mci_of_find_slot_node’ defined but not used [-Wunused-function]

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c