scsi: libfc: Replace ->lport_recv with function call
authorHannes Reinecke <hare@suse.de>
Tue, 18 Oct 2016 08:01:37 +0000 (10:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:54 +0000 (17:29 -0500)
commitc5cb444c31d1577d2dd207101ba9cf498e1c2d48
treee9c8f435b76c12a08e316c82b1f0af284a2c4d46
parent31c0a631a430b01e05ff1e35f287fb8dfa0ef519
scsi: libfc: Replace ->lport_recv with function call

The ->lport_recv callback only ever had one implementation,
so call the function directly and remove 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_exch.c
drivers/scsi/libfc/fc_lport.c
include/scsi/libfc.h