]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/hash.c
*: do not check XMALLOC / XCALLOC for null ret
[mirror_frr.git] / lib / hash.c
index 9f9fc31d3740f9b6d22f9abd9fb3f67aa2632e86..611fd33fbe1ce32ef6ed6f52675bbc9f44ab2bde 100644 (file)
@@ -95,8 +95,6 @@ static void hash_expand(struct hash *hash)
 
        new_index = XCALLOC(MTYPE_HASH_INDEX,
                            sizeof(struct hash_bucket *) * new_size);
-       if (new_index == NULL)
-               return;
 
        hash->stats.empty = new_size;