Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: qla2xxx: Make qla_set_ini_mode() return void | Date | Thu, 7 May 2020 22:54:31 -0400 |
| |
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
| |