diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-10 14:03:25 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-18 00:43:47 +0200 |
commit | 24010e9231cce0f74e2fea1601bdc813eb227736 (patch) | |
tree | 2f73dba1e12f11c18be77637ce1799b10b7de786 /pbrd | |
parent | pbrd: Allow pbr-policy add/removal to install/remove rules (diff) | |
download | frr-24010e9231cce0f74e2fea1601bdc813eb227736.tar.xz frr-24010e9231cce0f74e2fea1601bdc813eb227736.zip |
pbrd: Fix unused function
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pbrd')
-rw-r--r-- | pbrd/pbr_debug.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/pbrd/pbr_debug.c b/pbrd/pbr_debug.c index 2693120e1..82f045c46 100644 --- a/pbrd/pbr_debug.c +++ b/pbrd/pbr_debug.c @@ -54,24 +54,6 @@ void pbr_debug_set_all(uint32_t flags, bool set) } } -/* - * Check flags on all debugs for pbrd. - * - * flags - * The flags to set - * - * Returns: - * The subset of the given flags that were set in all pbrd debugs - */ -static uint32_t pbr_debug_check_all(uint32_t flags) -{ - uint32_t mode = DEBUG_MODE_ALL; - - for (unsigned int i = 0; i < array_size(pbr_debugs); i++) - mode &= DEBUG_MODE_CHECK(pbr_debugs[i], flags); - return mode; -} - int pbr_debug_config_write_helper(struct vty *vty, bool config) { uint32_t mode = DEBUG_MODE_ALL; |