]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: libfc: Replace ->rport_destroy callback with function call
authorHannes Reinecke <hare@suse.de>
Tue, 18 Oct 2016 08:01:39 +0000 (10:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:55 +0000 (17:29 -0500)
commit944ef9689d8affc13d16c09ac2dba56c5b4c5ff7
treed99ff5c4fedf537ff97afa5f4983a4142cf15dbd
parent3afd2d1521951cb05ef5279b71634cc55ace688b
scsi: libfc: Replace ->rport_destroy callback with function call

The ->rport_destroy callback only ever had one implementation,
so we can as well call it directly and drop the callback.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe_ctlr.c
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h