scsi: libfc: Replace ->rport_login callback with function call
authorHannes Reinecke <hare@suse.de>
Tue, 18 Oct 2016 08:01:43 +0000 (10:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:55 +0000 (17:29 -0500)
commit05d7d3b0bd07e3990ab7a39ee93be28dbf7091d4
tree3255b20befb2f4551eab03618793fda2b60a2813
parent2580064b5ec6dc9efa475298b276ab21f5cc287d
scsi: libfc: Replace ->rport_login callback with function call

The ->rport_login 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