summaryrefslogtreecommitdiff
path: root/zebra/zebra_mlag.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-10-05 12:24:10 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-10-13 16:02:05 -0400
commitca3491262b13f700ee37e985f51447866f64a3b1 (patch)
tree9d280172c11dd1515f5d7f78f25187f18f0c1e59 /zebra/zebra_mlag.c
parentded3e3e39c08996343aa00cf2775933e4ef176c3 (diff)
zebra: Isolate mlag_rd_buf_offset to the actual using function
Isolate the mlag_rd_buf_offset variable to the actual used function, instead of having it a global. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_mlag.c')
-rw-r--r--zebra/zebra_mlag.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_mlag.c b/zebra/zebra_mlag.c
index fb8798ebd9..d8ed9b2a3a 100644
--- a/zebra/zebra_mlag.c
+++ b/zebra/zebra_mlag.c
@@ -49,7 +49,6 @@ DEFINE_HOOK(zebra_mlag_private_cleanup_data, (), ())
uint8_t mlag_wr_buffer[ZEBRA_MLAG_BUF_LIMIT];
uint8_t mlag_rd_buffer[ZEBRA_MLAG_BUF_LIMIT];
-uint32_t mlag_rd_buf_offset;
static bool test_mlag_in_progress;