scsi: qla2xxx: Enable type checking for the SRB free and done callback functions
[linux-2.6-block.git] / drivers / scsi / qla2xxx / qla_mid.c
index b2977e49356ba1b0b1f4d8aaa4e8f433ddaa7712..1a9a11ae728546cf20b5cdcdf4fdea6a9efbebe9 100644 (file)
@@ -901,10 +901,8 @@ failed:
        return 0;
 }
 
-static void qla_ctrlvp_sp_done(void *s, int res)
+static void qla_ctrlvp_sp_done(srb_t *sp, int res)
 {
-       struct srb *sp = s;
-
        if (sp->comp)
                complete(sp->comp);
        /* don't free sp here. Let the caller do the free */