diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-09-24 02:36:51 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-09-24 02:36:51 +0200 |
commit | 00e0d113e5ffcb69304b8d5d83f0357ec416c6c4 (patch) | |
tree | 9ca2e586daa4a88b41a1e84ae200a4170bca0b67 /zebra/zebra_mlag.c | |
parent | Merge pull request #7155 from donaldsharp/TRAP (diff) | |
download | frr-00e0d113e5ffcb69304b8d5d83f0357ec416c6c4.tar.xz frr-00e0d113e5ffcb69304b8d5d83f0357ec416c6c4.zip |
zebra: the mlag_rd_buf_offset variable was write only
The mlag_rd_buf_offset function was only ever being set to 0
in the mlag_read function and only written in that function.
There is no need for this global variable.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_mlag.c')
-rw-r--r-- | zebra/zebra_mlag.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_mlag.c b/zebra/zebra_mlag.c index fb8798ebd..d8ed9b2a3 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; |