From: Renato Westphal Date: Mon, 21 Jan 2019 14:39:35 +0000 (-0200) Subject: zebra: remove dead macro X-Git-Tag: frr-7.1-dev~2^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=76fc688e096e4244ff214ad08f5d6fc6e124dc36;p=mirror%2Ffrr.git zebra: remove dead macro This macro is not used since commit 078430f609e. Signed-off-by: Renato Westphal --- diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index ee76df4db1..317a7cdeca 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -54,16 +54,6 @@ static void free_state(vrf_id_t vrf_id, struct route_entry *re, struct route_node *rn); static void copy_state(struct rnh *rnh, struct route_entry *re, struct route_node *rn); -#define lookup_rnh_table(v, f) \ - ({ \ - struct zebra_vrf *zvrf; \ - struct route_table *t = NULL; \ - zvrf = zebra_vrf_lookup_by_id(v); \ - if (zvrf) \ - t = zvrf->rnh_table[family2afi(f)]; \ - t; \ - }) - static int compare_state(struct route_entry *r1, struct route_entry *r2); static int send_client(struct rnh *rnh, struct zserv *client, rnh_type_t type, vrf_id_t vrf_id);