Re: [PATCH] scsi: qla2xxx: Make qla_set_ini_mode() return void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux