Messages in this thread | | | Date | Tue, 15 Feb 2022 08:03:29 +0000 | Subject | Re: [PATCH -next] scsi: hisi_sas: Remove unnecessary print function dev_err() | From | John Garry <> |
| |
On 15/02/2022 02:05, Yang Li wrote: > The print function dev_err() is redundant because platform_get_irq() > already prints an error. > > Eliminate the follow coccicheck warnings: > ./drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:1661:3-10: line 1661 is > redundant because platform_get_irq() already prints an error > ./drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:1642:4-11: line 1642 is > redundant because platform_get_irq() already prints an error > ./drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:1679:3-10: line 1679 is > redundant because platform_get_irq() already prints an error > > Reported-by: Abaci Robot<abaci@linux.alibaba.com> > Signed-off-by: Yang Li<yang.lee@linux.alibaba.com>
Acked-by: John Garry <john.garry@huawei.com>
| |