diff options
author | Hannes Reinecke <hare@suse.de> | 2016-10-18 10:01:36 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 23:29:54 +0100 |
commit | 31c0a631a430b01e05ff1e35f287fb8dfa0ef519 (patch) | |
tree | 22ab891c511d460be8020a434b03d2ca7f20aae0 /drivers/scsi/fnic | |
parent | scsi: libfc: Replace ->seq_els_rsp_send callback with function call (diff) | |
download | linux-31c0a631a430b01e05ff1e35f287fb8dfa0ef519.tar.xz linux-31c0a631a430b01e05ff1e35f287fb8dfa0ef519.zip |
scsi: libfc: Replace ->lport_reset callback with function call
The ->lport_reset callback only ever had one implementation,
which already is exported. So remove it and use the function
directly.
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/fnic')
-rw-r--r-- | drivers/scsi/fnic/fnic_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c index d9fd2f841585..bfaba069937f 100644 --- a/drivers/scsi/fnic/fnic_scsi.c +++ b/drivers/scsi/fnic/fnic_scsi.c @@ -2543,7 +2543,7 @@ int fnic_reset(struct Scsi_Host *shost) * Reset local port, this will clean up libFC exchanges, * reset remote port sessions, and if link is up, begin flogi */ - ret = lp->tt.lport_reset(lp); + ret = fc_lport_reset(lp); FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, "Returning from fnic reset %s\n", |