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>
This commit is contained in:

committed by
Martin K. Petersen

parent
7ab24dd165
commit
31c0a631a4
@@ -2224,7 +2224,7 @@ int fc_eh_host_reset(struct scsi_cmnd *sc_cmd)
|
||||
|
||||
fc_block_scsi_eh(sc_cmd);
|
||||
|
||||
lport->tt.lport_reset(lport);
|
||||
fc_lport_reset(lport);
|
||||
wait_tmo = jiffies + FC_HOST_RESET_TIMEOUT;
|
||||
while (!fc_fcp_lport_queue_ready(lport) && time_before(jiffies,
|
||||
wait_tmo))
|
||||
|
Reference in New Issue
Block a user