diff options
author | Hannes Reinecke <hare@suse.de> | 2016-10-18 10:01:50 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:56 -0500 |
commit | 768c72cc34a26ed1c41c9af89886f91af08ded8c (patch) | |
tree | 40e53028cd2c5eb90634b61a582364ecf7202500 /drivers/scsi/libfc/fc_lport.c | |
parent | 0ebaed17febadeda0f4da21da2c0f295f46348a4 (diff) | |
download | lwn-768c72cc34a26ed1c41c9af89886f91af08ded8c.tar.gz lwn-768c72cc34a26ed1c41c9af89886f91af08ded8c.zip |
scsi: libfc: Replace ->exch_done callback with function call
The ->exch_done 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>
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 7315675d3e33..2d3133f62463 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -980,7 +980,7 @@ drop: FC_LPORT_DBG(lport, "dropping unexpected frame type %x\n", fh->fh_type); fc_frame_free(fp); if (sp) - lport->tt.exch_done(sp); + fc_exch_done(sp); } EXPORT_SYMBOL(fc_lport_recv); |