]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: remove unused function ins ospfd/ospf_lsa.c
authorDonna Sharp <dksharp5@gmail.com>
Mon, 11 Nov 2024 23:55:54 +0000 (18:55 -0500)
committerDonna Sharp <dksharp5@gmail.com>
Mon, 24 Feb 2025 19:40:22 +0000 (14:40 -0500)
Signed-off-by: Donna Sharp <dksharp5@gmail.com>
ospfd/ospf_lsa.c
ospfd/ospf_lsa.h

index 1d5c0be5c42eaa710a5ca5183822689307100e5e..15068ec8206468e76ed59a4a8f30f09121ee72d5 100644 (file)
@@ -87,16 +87,6 @@ bool ospf_check_dna_lsa(const struct ospf_lsa *lsa)
                        : false);
 }
 
-struct timeval int2tv(int a)
-{
-       struct timeval ret;
-
-       ret.tv_sec = a;
-       ret.tv_usec = 0;
-
-       return ret;
-}
-
 struct timeval msec2tv(int a)
 {
        struct timeval ret;
index f58bbde07a351c21c7fbc8f92ae6a48dd26c415e..309d506ea69e648a2121f99683ff2ae15beca5a3 100644 (file)
@@ -224,7 +224,6 @@ enum lsid_status { LSID_AVAILABLE = 0, LSID_CHANGE, LSID_NOT_AVAILABLE };
 
 /* Prototypes. */
 /* XXX: Eek, time functions, similar are in lib/thread.c */
-extern struct timeval int2tv(int);
 
 extern struct timeval msec2tv(int a);
 extern int tv2msec(struct timeval tv);