]> git.puffer.fish Git - mirror/frr.git/commit
zebra: the mlag_rd_buf_offset variable was write only 7167/head
authorDonald Sharp <sharpd@nvidia.com>
Thu, 24 Sep 2020 00:36:51 +0000 (20:36 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 24 Sep 2020 00:36:51 +0000 (20:36 -0400)
commit00e0d113e5ffcb69304b8d5d83f0357ec416c6c4
tree9ca2e586daa4a88b41a1e84ae200a4170bca0b67
parentccda0eadac743dd4e9b02d6c28b226ef6e8f90b3
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>
zebra/zebra_mlag.c
zebra/zebra_mlag.h
zebra/zebra_mlag_private.c