diff options
author | Yang Li <[email protected]> | 2023-10-30 14:12:42 +0800 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2023-12-18 02:21:36 +0000 |
commit | b642e081f46cc95c7f1468cab1ea3c2d5e11fdab (patch) | |
tree | d30cbd3389452711de587eabcbb58b967b6b6f5f /lib/test_fortify/write_overflow-memcpy.c | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
PCI: xilinx-xdma: Remove redundant dev_err()
There is no need to call the dev_err() function directly to print a
custom message when handling an error from either the platform_get_irq()
or platform_get_irq_byname() functions as both are going to display an
appropriate error message in case of a failure.
./drivers/pci/controller/pcie-xilinx-dma-pl.c:688:2-9: line 688 is redundant because platform_get_irq() already prints an error
./drivers/pci/controller/pcie-xilinx-dma-pl.c:702:2-9: line 702 is redundant because platform_get_irq() already prints an error
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7074
Link: https://lore.kernel.org/linux-pci/[email protected]
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions