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

The ->rport_lookup 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_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h