From: Axel Lin Date: Thu, 8 May 2014 11:17:07 +0000 (+0800) Subject: spi: dw: Remove unused dw_spi_cleanup function X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~29^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf61fb805ce8f60a02c69abf249832bb306e2fe2;p=pandora-kernel.git spi: dw: Remove unused dw_spi_cleanup function The dw_spi_cleanup() function was removed by commit c63f5da00845 "spi: dw: Don't call kfree for memory allocated by devm_kzalloc". commit ec37e8e1f0e3 "spi: dw: migrate to generic queue infrastructure" added dw_spi_cleanup() but never use it. So now I got below build warning: CC [M] drivers/spi/spi-dw.o drivers/spi/spi-dw.c:609:13: warning: 'dw_spi_cleanup' defined but not used [-Wunused-function] Signed-off-by: Axel Lin Acked-by: Baruch Siach Signed-off-by: Mark Brown --- Reading git-diff-tree failed