Prev: [PATCH 03/12] arch/x86/kernel/tlb_uv.c: Remove unnecessary kmalloc casts
Next: [PATCH 08/12] drivers/parisc/iosapic.c: Remove unnecessary kzalloc cast
From: Joe Perches on 8 Jun 2010 00:00 Signed-off-by: Joe Perches <joe(a)perches.com> --- fs/ufs/util.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/ufs/util.c b/fs/ufs/util.c index 85a7fc9..9c44f32 100644 --- a/fs/ufs/util.c +++ b/fs/ufs/util.c @@ -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_KERNEL); + ubh = kmalloc(sizeof(struct ufs_buffer_head), GFP_KERNEL); if (!ubh) return NULL; ubh->fragment = fragment; -- 1.7.1.244.gbdc4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |