Skip to content

Commit

Permalink
[SCSI] libfc: Remove unused fc_lport pointer from fc_fcp_pkt_abort
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Love authored and James Bottomley committed Dec 4, 2009
1 parent 473e285 commit c340111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ static void fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp)
* Scsi abort handler- calls to send an abort
* 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;

Expand Down Expand Up @@ -1945,7 +1945,7 @@ int fc_eh_abort(struct scsi_cmnd *sc_cmd)
goto release_pkt;
}

rc = fc_fcp_pkt_abort(lp, fsp);
rc = fc_fcp_pkt_abort(fsp);
fc_fcp_unlock_pkt(fsp);

release_pkt:
Expand Down

0 comments on commit c340111

Please sign in to comment.