scsi: snic: Make snic_io_exch_ver_cmpl_handler() return void
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 07:06:15 +0000 (15:06 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 24 Apr 2020 22:21:15 +0000 (18:21 -0400)
commit6942d531e2d22a72492502be010fee9030c58993
tree2dbd4e8a709b214298b7e80f34104b8f12942548
parentbaf3fbf26cc003eaf7612ea215d6cc191bd6f850
scsi: snic: Make snic_io_exch_ver_cmpl_handler() return void

This function does not need a return value since no callers depend on
it. Make it return void.

This also fixes the coccicheck warning:

drivers/scsi/snic/snic_ctl.c:163:5-8: Unneeded variable: "ret". Return
"0" on line 228

Link: https://lore.kernel.org/r/20200418070615.11603-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic.h
drivers/scsi/snic/snic_ctl.c