diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-03-12 13:37:05 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-03-18 14:15:58 +0100 |
commit | 194c8767cef585708645186a928089b1adf77f52 (patch) | |
tree | 0fe62d9352f5bb9a52acb5df298089e5abda4475 /fs | |
parent | eb2c560f9f2b126e1d0ebcd35709c5b37c28c817 (diff) | |
download | kernel_goldelico_gta04-194c8767cef585708645186a928089b1adf77f52.zip kernel_goldelico_gta04-194c8767cef585708645186a928089b1adf77f52.tar.gz kernel_goldelico_gta04-194c8767cef585708645186a928089b1adf77f52.tar.bz2 |
fs: ufs: remove cast for kmalloc return value
remove cast for kmalloc return value.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | 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 95425b5..b6c2f94 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_NOFS); + ubh = kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS); if (!ubh) return NULL; ubh->fragment = fragment; |