From: Tobias Klauser Date: Tue, 16 Sep 2014 07:54:55 +0000 (+0200) Subject: mmc: dw_mmc: Remove unused function for !CONFIG_OF X-Git-Tag: fixes-against-v3.18-rc2~127^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e1fc19b29e925d4e567a708625dad1f0fb8bf16;p=pandora-kernel.git 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 Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed