From b8ffe155228dd05f8097422349e8e6525288bbdb Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 4 Dec 2021 16:40:45 +0100 Subject: lib: Remove old rib_fini code There was some leftover code in dev.c wrt to the process RIB that is not needed anymore. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/dev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/dev.c b/src/lib/dev.c index 723e3350..86074e2b 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -484,9 +484,6 @@ static void fini(void) { int i = 0; #ifdef PROC_FLOW_STATS - char procstr[32]; - - sprintf(procstr, "proc.%d", getpid()); rib_fini(); #endif -- cgit v1.2.3