aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_allocator_block.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-08-02 01:36:52 +0000
committerEvan Huus <eapache@gmail.com>2013-08-02 01:36:52 +0000
commitc85ec68e58f7e6f00748e83437bd7a1fbfd60a54 (patch)
tree249ed4136bbebd1d0090125fe8300b99031b7a66 /epan/wmem/wmem_allocator_block.c
parent2b69003dc0a9a1db587b1d834dbb3361636bb9f7 (diff)
Remove unnecessary null check.
svn path=/trunk/; revision=51110
Diffstat (limited to 'epan/wmem/wmem_allocator_block.c')
-rw-r--r--epan/wmem/wmem_allocator_block.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/wmem/wmem_allocator_block.c b/epan/wmem/wmem_allocator_block.c
index 89aed5aab4..3df3d1a988 100644
--- a/epan/wmem/wmem_allocator_block.c
+++ b/epan/wmem/wmem_allocator_block.c
@@ -429,10 +429,6 @@ wmem_block_pop_master(wmem_block_allocator_t *allocator)
chunk = allocator->master_head;
- if (!chunk) {
- return;
- }
-
free_chunk = WMEM_GET_FREE(chunk);
allocator->master_head = free_chunk->next;