]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[SCSI] libfc: Remove unused fc_lport pointer from fc_fcp_pkt_abort
authorRobert Love <robert.w.love@intel.com>
Wed, 21 Oct 2009 23:27:06 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:26 +0000 (12:00 -0600)
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>
drivers/scsi/libfc/fc_fcp.c

index e613eb80d3a3e966aad117d5ffeb955485d700d1..ade962d74fb984497effbacac06513c1175595df 100644 (file)
@@ -1097,7 +1097,7 @@ unlock:
  * 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: