lkml.org 
[lkml]   [2022]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] scsi: hisi_sas: Remove unnecessary print function dev_err()
Date
On Tue, 15 Feb 2022 10:05:24 +0800, 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
>
> [...]

Applied to 5.18/scsi-queue, thanks!

[1/1] scsi: hisi_sas: Remove unnecessary print function dev_err()
https://git.kernel.org/mkp/scsi/c/07dd40b3078f

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2022-02-28 04:44    [W:0.046 / U:1.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site