lkml.org 
[lkml]   [2020]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: qla2xxx: Make qla_set_ini_mode() return void
Date
On Wed, 29 Apr 2020 22:09:52 +0800, Jason Yan wrote:

> The return value is not used by the caller and the local variable 'rc'
> is not needed. So make qla_set_ini_mode() return void and remove 'rc'.
> This also fixes the following coccicheck warning:
>
> drivers/scsi/qla2xxx/qla_attr.c:1906:5-7: Unneeded variable: "rc".
> Return "0" on line 2180

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: qla2xxx: Make qla_set_ini_mode() return void
https://git.kernel.org/mkp/scsi/c/1b007f96f9e0

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2020-05-08 04:55    [W:0.033 / U:2.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site