aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/main.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-04-04 19:43:30 +0200
committerFlorin Coras <florin.coras@gmail.com>2022-04-04 19:12:10 +0000
commit564005b094c627aaa130753eb43d95cb18c5aba5 (patch)
treeaa2474dab31f7c83e7afcfe7bdc82961cb75534c /src/vlib/unix/main.c
parent2e90b299ac3f32bbf82785eda5e00a2e2d61f718 (diff)
vlib: remove unused fields
Type: refactor Change-Id: I449fcea92a1c96dd7dd0bcad893060ad1c614351 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/unix/main.c')
-rw-r--r--src/vlib/unix/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index 0ebda240899..0b73597dab3 100644
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -708,10 +708,6 @@ vlib_unix_main (int argc, char *argv[])
vgm->exec_path = vgm->name = argv[0];
vgm->argv = (u8 **) argv;
- vm->heap_base = clib_mem_get_heap ();
- vm->heap_aligned_base =
- (void *) (((uword) vm->heap_base) & ~(CLIB_CACHE_LINE_BYTES - 1));
- ASSERT (vm->heap_base);
clib_time_init (&vm->clib_time);