Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux-block.git] / fs / ufs / util.c
index 95425b59ce0a3582d1279f6484987ea611e4491e..b6c2f94e041edc5840cc7a081b0ea6b8f4abfbd9 100644 (file)
@@ -26,8 +26,7 @@ struct ufs_buffer_head * _ubh_bread_ (struct ufs_sb_private_info * uspi,
        count = size >> uspi->s_fshift;
        if (count > UFS_MAXFRAG)
                return NULL;
-       ubh = (struct ufs_buffer_head *)
-               kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS);
+       ubh = kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS);
        if (!ubh)
                return NULL;
        ubh->fragment = fragment;