diff options
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/l2/l2_rw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/l2/l2_rw.c b/src/vnet/l2/l2_rw.c index a7c95fe1a77..b6de2faffc5 100644 --- a/src/vnet/l2/l2_rw.c +++ b/src/vnet/l2/l2_rw.c @@ -326,9 +326,6 @@ l2_rw_mod_entry (u32 * index, *index = e - rw->entries; } - if (!e) - return -1; - if (is_del) { pool_put (rw->entries, e); |