[Linux-stm32] [PATCH] net: stmmac: dwmac_lib: remove unnecessary checks in dwmac_dma_reset()

David Miller davem at davemloft.net
Fri Mar 20 04:08:04 UTC 2020


From: Dejin Zheng <zhengdejin5 at gmail.com>
Date: Thu, 19 Mar 2020 21:10:19 +0800

> it will check the return value of dwmac_dma_reset() in the
> stmmac_init_dma_engine() function and report an error if the
> return value is not zero. so don't need check here.
> 
> Signed-off-by: Dejin Zheng <zhengdejin5 at gmail.com>

Applied, thanks.



More information about the Linux-stm32 mailing list