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>
This commit is contained in:
Donald Sharp 2016-01-26 08:41:52 -08:00
parent 246556b504
commit a0cee366e8
3 changed files with 0 additions and 9 deletions

View File

@ -1033,9 +1033,6 @@ enum bgp_clear_type
#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

View File

@ -334,9 +334,6 @@ do { \
} \
} while (0)
/* Count prefix size from mask length */
#define PSIZE(a) (((a) + 7) / (8))
/* Extern variables. */
extern struct ripng *ripng;

View File

@ -127,9 +127,6 @@ struct zebra_t
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);