]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/osst.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mv-sheeva.git] / drivers / scsi / osst.c
index 824fe080d1dc2b9d0b2e1a35b2e1a64464e615b9..7d231106790308999b22b5276718cec47f369cb2 100644 (file)
@@ -5777,7 +5777,7 @@ static int osst_probe(struct device *dev)
        dev_num = i;
 
        /* allocate a struct osst_tape for this device */
-       tpnt = (struct osst_tape *)kmalloc(sizeof(struct osst_tape), GFP_ATOMIC);
+       tpnt = kmalloc(sizeof(struct osst_tape), GFP_ATOMIC);
        if (tpnt == NULL) {
                write_unlock(&os_scsi_tapes_lock);
                printk(KERN_ERR "osst :E: Can't allocate device descriptor, device not attached.\n");