X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fmem.h;h=0f8bd482a905f9d6572cfeb8f5fe8611b6aaabf6;hb=a6ef36b2c25de47824a1b45e147ab2fbf67c3a33;hp=f35c495eb25610bd0506fc4ba19332dc055d668f;hpb=44476c6b271bdebb7458590398b5f140c9a7d353;p=vpp.git diff --git a/src/vppinfra/mem.h b/src/vppinfra/mem.h index f35c495eb25..0f8bd482a90 100644 --- a/src/vppinfra/mem.h +++ b/src/vppinfra/mem.h @@ -84,7 +84,7 @@ clib_mem_set_per_cpu_heap (u8 * new_heap) always_inline void * clib_mem_get_per_numa_heap (u32 numa_id) { - ASSERT (numa_id >= 0 && numa_id < ARRAY_LEN (clib_per_numa_mheaps)); + ASSERT (numa_id < ARRAY_LEN (clib_per_numa_mheaps)); return clib_per_numa_mheaps[numa_id]; }