Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c340111d authored by Robert Love's avatar Robert Love Committed by James Bottomley
Browse files

[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: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 473e2856
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;

@@ -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: