mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SCSI] libfc: Remove unused fc_lport pointer from fc_fcp_pkt_abort
This argument isn't used, let's not pass it into the routine. Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
473e28563f
commit
c340111dbb
1 changed files with 2 additions and 2 deletions
|
@ -1097,7 +1097,7 @@ unlock:
|
||||||
* Scsi abort handler- calls to send an abort
|
* Scsi abort handler- calls to send an abort
|
||||||
* and then wait for abort completion
|
* and then wait for abort completion
|
||||||
*/
|
*/
|
||||||
static int fc_fcp_pkt_abort(struct fc_lport *lp, struct fc_fcp_pkt *fsp)
|
static int fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp)
|
||||||
{
|
{
|
||||||
int rc = FAILED;
|
int rc = FAILED;
|
||||||
|
|
||||||
|
@ -1945,7 +1945,7 @@ int fc_eh_abort(struct scsi_cmnd *sc_cmd)
|
||||||
goto release_pkt;
|
goto release_pkt;
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = fc_fcp_pkt_abort(lp, fsp);
|
rc = fc_fcp_pkt_abort(fsp);
|
||||||
fc_fcp_unlock_pkt(fsp);
|
fc_fcp_unlock_pkt(fsp);
|
||||||
|
|
||||||
release_pkt:
|
release_pkt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue