From: Donald Sharp Date: Thu, 28 Jan 2021 19:04:59 +0000 (-0500) Subject: pbrd: Remove #if 0 code X-Git-Tag: base_8.0~454^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d3e3a408d5a9cad9aa545e24bf8c3f369c4d6539;p=mirror%2Ffrr.git pbrd: Remove #if 0 code 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 --- diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c index f99971ab7b..723374d9d6 100644 --- a/pbrd/pbr_nht.c +++ b/pbrd/pbr_nht.c @@ -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)