scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions
[linux-2.6-microblaze.git] / drivers / scsi / stex.c
index 2f96a2f..e6420f2 100644 (file)
@@ -590,9 +590,9 @@ stex_slave_config(struct scsi_device *sdev)
        return 0;
 }
 
-static int
-stex_queuecommand_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *))
+static int stex_queuecommand_lck(struct scsi_cmnd *cmd)
 {
+       void (*done)(struct scsi_cmnd *) = scsi_done;
        struct st_hba *hba;
        struct Scsi_Host *host;
        unsigned int id, lun;