From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Wed, 6 Nov 2019 15:54:49 +0000 > In the DMA memory resource get failed case, the error is not > set and 0 will be returned. Fix it by reove redundant check > since devm_ioremap_resource() will handle it. > > Fixes: 28ef9ebdb64c ("net: axienet: make use of axistream-connected attribute optional") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Fixed with the commit message typo fixed.