scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions
[linux-2.6-block.git] / drivers / scsi / 3w-xxxx.c
index bdd3ab8875e2bbd0b454df88879a213d7bcf3b6a..498a5ab7a321b708e4950f9c1d8630513c6b5660 100644 (file)
@@ -1918,8 +1918,9 @@ static int tw_scsiop_test_unit_ready_complete(TW_Device_Extension *tw_dev, int r
 } /* End tw_scsiop_test_unit_ready_complete() */
 
 /* This is the main scsi queue function to handle scsi opcodes */
-static int tw_scsi_queue_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *))
+static int tw_scsi_queue_lck(struct scsi_cmnd *SCpnt)
 {
+       void (*done)(struct scsi_cmnd *) = scsi_done;
        unsigned char *command = SCpnt->cmnd;
        int request_id = 0;
        int retval = 1;