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

父節點
7ab24dd165
當前提交
31c0a631a4
@@ -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",
|
||||
|
Reference in New Issue
Block a user