]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: iscsi: Make iscsi_unregister_transport() return void
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Thu, 16 Jun 2022 08:02:10 +0000 (11:02 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 02:11:18 +0000 (22:11 -0400)
commit84016f5fbc2cec6050dd13c40b1ad1f65553082e
tree8c6c8c8e846c75125ddd22ff2b387d499bfa0a30
parent6822cc4f5d1845c1c5c4b6b0b0d513b6015bf125
scsi: iscsi: Make iscsi_unregister_transport() return void

This function always returns 0. We can make it return void to simplify the
code. Also, no caller ever checks the return value of this function.

Link: https://lore.kernel.org/r/20220616080210.18531-1-mgurtovoy@nvidia.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h