]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: stmmac: dwmac_lib: remove unnecessary checks in dwmac_dma_reset()
authorDejin Zheng <zhengdejin5@gmail.com>
Thu, 19 Mar 2020 13:16:38 +0000 (21:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2020 04:05:27 +0000 (21:05 -0700)
commit3fd177cb2b47b29d36431229e4737e7286eefa29
treeae159d728478ba6e414fe00ee3bff02f7704241b
parent09d65e6d631c052d6b03ef862e93cbb10649df58
net: stmmac: dwmac_lib: remove unnecessary checks in dwmac_dma_reset()

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c