]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: message: fusion: Simplify mptfc_block_error_handler()
authorHannes Reinecke <hare@suse.de>
Mon, 2 Oct 2023 15:43:11 +0000 (17:43 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 18:23:14 +0000 (14:23 -0400)
commitd9987d4b9671541273014adefec137c1fc832168
treeec8b16395a145278733612b2b07a31e8d1a9989e
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
scsi: message: fusion: Simplify mptfc_block_error_handler()

Instead of passing in a function to mptfc_block_error_handler() we can as
well return a status and call the function afterwards.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20231002154328.43718-2-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptfc.c