[PATCH] getting rid of all casts of k[cmz]alloc() calls
[sfrench/cifs-2.6.git] / drivers / scsi / sr_ioctl.c
index d1268cb46837b258cd721f992546c7f1084d6345..0578ba42718b125ead70d8a9d599934d18f5e1fe 100644 (file)
@@ -546,7 +546,7 @@ int sr_is_xa(Scsi_CD *cd)
        if (!xa_test)
                return 0;
 
-       raw_sector = (unsigned char *) kmalloc(2048, GFP_KERNEL | SR_GFP_DMA(cd));
+       raw_sector = kmalloc(2048, GFP_KERNEL | SR_GFP_DMA(cd));
        if (!raw_sector)
                return -ENOMEM;
        if (0 == sr_read_sector(cd, cd->ms_offset + 16,