]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - fs/xfs/linux-2.6/xfs_file.c
[PATCH] fs: Removing useless casts
[linux-2.6.git] / fs / xfs / linux-2.6 / xfs_file.c
index 3d4f6dff21134a26b622d4450b0e763906ccba1e..41cfcba7ce49bed9c85e94785c163922e44a57c8 100644 (file)
@@ -370,7 +370,7 @@ xfs_file_readdir(
 
        /* Try fairly hard to get memory */
        do {
-               if ((read_buf = (caddr_t)kmalloc(rlen, GFP_KERNEL)))
+               if ((read_buf = kmalloc(rlen, GFP_KERNEL)))
                        break;
                rlen >>= 1;
        } while (rlen >= 1024);