OSDN Git Service

dmaengine: sf-pdma:Remove the print function dev_err()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 10 Aug 2022 06:25:32 +0000 (06:25 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 5 Sep 2022 06:20:38 +0000 (11:50 +0530)
commit7d81afd2690400f8fb7d9bec0532624562634766
tree56d7b16b5e656045d69764fda5c9c84fcebdd341
parent7c94dcfa8fcff2dba53915f1dabfee49a3df8b88
dmaengine: sf-pdma:Remove the print function dev_err()

>From the coccinelle check:

./drivers/dma/sf-pdma/sf-pdma.c
Error:line 409 is redundant because platform_get_irq() already prints an
error

./drivers/dma/sf-pdma/sf-pdma.c
Error:line 424 is redundant because platform_get_irq() already prints an
error

So,remove the unnecessary print function dev_err()

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220810062532.13425-1-ye.xingchen@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sf-pdma/sf-pdma.c