]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libsas: Use void for sas_discover_event() return code
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 11 Feb 2022 06:42:55 +0000 (14:42 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 11 Feb 2022 22:13:29 +0000 (17:13 -0500)
commitbfc4ea6080203cdbdcc2108e61a9b7693858e1b2
tree2511ce4eeae947ed4f6e140aed8c25859737c0c8
parent159fbfeb198b292d1f47eaf24383fcfe1fc2a55d
scsi: libsas: Use void for sas_discover_event() return code

The callers of function sas_discover_event() do not check its return value.
The function also only ever returns 0, so use void instead.

Link: https://lore.kernel.org/r/1644561778-183074-2-git-send-email-chenxiang66@hisilicon.com
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_discover.c
include/scsi/libsas.h