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

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