Skip to content
Commit bf61fb80 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

spi: dw: Remove unused dw_spi_cleanup function



The dw_spi_cleanup() function was removed by commit c63f5da0
"spi: dw: Don't call kfree for memory allocated by devm_kzalloc".

commit ec37e8e1 "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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent d9c73bb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment