Re: [PATCH 3/3] dmaengine: imx-sdma: remove unused function
From: Arnd Bergmann
Date: Sat Sep 24 2016 - 05:06:00 EST
On Saturday, September 24, 2016 1:01:06 PM CEST Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/dma/imx-sdma.c:673:13: warning: 'sdma_handle_channel_loop' defined but not used [-Wunused-function]
> In fact, this function is called by no one and not exported,
> so this patch removes it.
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>
The warning also shows up without W=1. I submitted the same patch,
and it was applied on Thursday.