]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
spi: dw: Remove unused dw_spi_cleanup function
authorAxel Lin <axel.lin@ingics.com>
Thu, 8 May 2014 11:17:07 +0000 (19:17 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 21:04:18 +0000 (22:04 +0100)
commitbf61fb805ce8f60a02c69abf249832bb306e2fe2
tree2bb7553fb51876fa720e9ac83b6f72e73c1f8b35
parentd9c73bb8a3a5e4b76d2ad55da00d9ea776475c81
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 <axel.lin@ingics.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw.c