bgpd, ripngd, zebra: Remove duplicate PSIZE define
The PSIZE macro is defined the same in multiple places. Remove
the duplicates.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Tested-by: NetDEF CI System <cisystem@netdef.org>
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index d8e687b..d8afbf3 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -795,9 +795,6 @@
#define BGP_IS_VALID_STATE_FOR_NOTIF(S)\
(((S) == OpenSent) || ((S) == OpenConfirm) || ((S) == Established))
-/* Count prefix size from mask length */
-#define PSIZE(a) (((a) + 7) / (8))
-
/* BGP error codes. */
#define BGP_SUCCESS 0
#define BGP_ERR_INVALID_VALUE -1
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 75b542e..93f6ff1 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -337,9 +337,6 @@
} \
} while (0)
-/* Count prefix size from mask length */
-#define PSIZE(a) (((a) + 7) / (8))
-
/* Extern variables. */
extern struct ripng *ripng;
diff --git a/zebra/zserv.h b/zebra/zserv.h
index fc01f96..413cd6a 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -84,9 +84,6 @@
struct meta_queue *mq;
};
-/* Count prefix size from mask length */
-#define PSIZE(a) (((a) + 7) / (8))
-
/* Prototypes. */
extern void zebra_init (void);
extern void zebra_if_init (void);