diff options
author | Robert Love <robert.w.love@intel.com> | 2009-10-21 19:27:06 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:00:26 -0500 |
commit | c340111dbb48482cd23f4e441deff9169be9bc6f (patch) | |
tree | 4c56660fdade7dce2c3d19a6cad67c81eb5e2d55 /drivers/scsi | |
parent | 473e28563fbb038515d4616546297483d3727c02 (diff) |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index e613eb80d3a3..ade962d74fb9 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
@@ -1097,7 +1097,7 @@ unlock: | |||
1097 | * Scsi abort handler- calls to send an abort | 1097 | * Scsi abort handler- calls to send an abort |
1098 | * and then wait for abort completion | 1098 | * and then wait for abort completion |
1099 | */ | 1099 | */ |
1100 | static int fc_fcp_pkt_abort(struct fc_lport *lp, struct fc_fcp_pkt *fsp) | 1100 | static int fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp) |
1101 | { | 1101 | { |
1102 | int rc = FAILED; | 1102 | int rc = FAILED; |
1103 | 1103 | ||
@@ -1945,7 +1945,7 @@ int fc_eh_abort(struct scsi_cmnd *sc_cmd) | |||
1945 | goto release_pkt; | 1945 | goto release_pkt; |
1946 | } | 1946 | } |
1947 | 1947 | ||
1948 | rc = fc_fcp_pkt_abort(lp, fsp); | 1948 | rc = fc_fcp_pkt_abort(fsp); |
1949 | fc_fcp_unlock_pkt(fsp); | 1949 | fc_fcp_unlock_pkt(fsp); |
1950 | 1950 | ||
1951 | release_pkt: | 1951 | release_pkt: |