remove useless variable

pull/5/head
yuqing 2016-01-12 18:20:25 +08:00
parent 6ddfdf1265
commit 00d5c43b50
1 changed files with 0 additions and 2 deletions

View File

@ -160,10 +160,8 @@ static void region_destroy(struct fast_allocator_context *acontext,
struct fast_region_info *region)
{
int element_size;
int allocator_count;
struct fast_allocator_info *allocator;
allocator_count = (region->end - region->start) / region->step;
allocator = region->allocators;
for (element_size=region->start+region->step; element_size<=region->end;
element_size+=region->step,allocator++)