]> git.puffer.fish Git - mirror/frr.git/commitdiff
pbrd: Remove #if 0 code
authorDonald Sharp <sharpd@nvidia.com>
Thu, 28 Jan 2021 19:04:59 +0000 (14:04 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 28 Jan 2021 19:04:59 +0000 (14:04 -0500)
I am not even sure what the goal of this code was in any
way shape fashion or form.  But since it's pbr_nht.c
I as the original author should know... But I don't.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pbrd/pbr_nht.c

index f99971ab7b7a4dd63dbcc93ebf24e684d6acdf7b..723374d9d690e92df192643f37f7b3cc4efa6d78 100644 (file)
@@ -320,13 +320,6 @@ void pbr_nhgroup_delete_cb(const char *name)
        pbr_map_check_nh_group_change(name);
 }
 
-#if 0
-static struct pbr_nexthop_cache *pbr_nht_lookup_nexthop(struct nexthop *nexthop)
-{
-       return NULL;
-}
-#endif
-
 static void
 pbr_nht_find_nhg_from_table_update(struct pbr_nexthop_group_cache *pnhgc,
                                   uint32_t table_id, bool installed)