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

    \
     
     \ /
      Last update: 2022-02-15 09:03    [W:2.343 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site