scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions
[sfrench/cifs-2.6.git] / drivers / scsi / ips.c
index 0c93ec359e9bec7e97a45b1d392801950e7550f5..498bf04499ce72039f84ff11ac7012a365478bf4 100644 (file)
@@ -1035,8 +1035,9 @@ static int ips_eh_reset(struct scsi_cmnd *SC)
 /*    Linux obtains io_request_lock before calling this function            */
 /*                                                                          */
 /****************************************************************************/
-static int ips_queue_lck(struct scsi_cmnd *SC, void (*done) (struct scsi_cmnd *))
+static int ips_queue_lck(struct scsi_cmnd *SC)
 {
+       void (*done)(struct scsi_cmnd *) = scsi_done;
        ips_ha_t *ha;
        ips_passthru_t *pt;