[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git] / fs / jfs / jfs_imap.c
index ee9b473b7b808d7866dfd95db09d775576977943..53f63b47a6d34ec818543ac3a40cb356fb92c24f 100644 (file)
@@ -120,7 +120,7 @@ int diMount(struct inode *ipimap)
         * allocate/initialize the in-memory inode map control structure
         */
        /* allocate the in-memory inode map control structure. */
-       imap = (struct inomap *) kmalloc(sizeof(struct inomap), GFP_KERNEL);
+       imap = kmalloc(sizeof(struct inomap), GFP_KERNEL);
        if (imap == NULL) {
                jfs_err("diMount: kmalloc returned NULL!");
                return -ENOMEM;