]> git.baikalelectronics.ru Git - 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)
commit198b866a048a32c2a808699afecfbc9ebaef9e28
treed99ff5c4fedf537ff97afa5f4983a4142cf15dbd
parent7111841950deedbf3421f4f407a88b6b9fb4658d
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