[PATCH] getting rid of all casts of k[cmz]alloc() calls
[sfrench/cifs-2.6.git] / drivers / s390 / scsi / zfcp_aux.c
index 5d39b2df0cc43fdcb49417641bdbb606f3e18ff0..85093b71f9fa52ebc9f0f95716c16f840111a926 100644 (file)
@@ -237,7 +237,7 @@ zfcp_device_setup(char *devstr)
                return 0;
 
        len = strlen(devstr) + 1;
-       str = (char *) kmalloc(len, GFP_KERNEL);
+       str = kmalloc(len, GFP_KERNEL);
        if (!str)
                goto err_out;
        memcpy(str, devstr, len);