diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-12-07 13:45:55 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-12-07 13:45:55 +1300 |
commit | fb1a7ee223619260cfd9b6366fd78747cc572cd5 (patch) | |
tree | 17b1408b4ecfa48a9ef57fa27663244c9483c3f0 /patches | |
parent | 84f122f301b6a27295641fcbde3a6fbcfea78a99 (diff) |
yaffs: Remove a whole lot of function wrappers and forward declarations
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/yaffs_linux_allocator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/yaffs_linux_allocator.c b/patches/yaffs_linux_allocator.c index b538776..395f4ea 100644 --- a/patches/yaffs_linux_allocator.c +++ b/patches/yaffs_linux_allocator.c @@ -67,7 +67,7 @@ void yaffs_deinit_raw_tnodes_and_objs(struct yaffs_dev *dev) YBUG(); } - YFREE(allocator); + kfree(allocator); } else { T(YAFFS_TRACE_ALWAYS, @@ -114,7 +114,7 @@ void yaffs_init_raw_tnodes_and_objs(struct yaffs_dev *dev) else if(mount_id >= 10){ T(YAFFS_TRACE_ALWAYS,(TSTR("Bad mount_id %u\n"),mount_id)); } else { - allocator = YMALLOC(sizeof(yaffs_Allocator)); + allocator = kmalloc(sizeof(yaffs_Allocator)); memset(allocator,0,sizeof(yaffs_Allocator)); dev->allocator = allocator; |