summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index b9e2490d..73eb4040 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -469,8 +469,6 @@ bgp_get_attr_len(eattr *a)
return len;
}
-#define ADVANCE(w, r, l) do { r -= l; w += l; } while (0)
-
/**
* bgp_encode_attrs - encode BGP attributes
* @p: BGP instance