]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: libfc: Replace ->rport_create callback with function call
authorHannes Reinecke <hare@suse.de>
Tue, 18 Oct 2016 08:01:42 +0000 (10:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:55 +0000 (17:29 -0500)
commit2580064b5ec6dc9efa475298b276ab21f5cc287d
tree70331d1a31c5160aef6eb4d529e344a579166496
parent558b88fe6dd88a16563a4d72b674947b8130a550
scsi: libfc: Replace ->rport_create callback with function call

The ->rport_create callback only ever had a single 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