diff options
| author | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-09-24 02:29:15 -0700 |
|---|---|---|
| committer | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-10-03 19:42:09 -0700 |
| commit | 40e79e94110c772bfb71b97b1d97e8ad35901b88 (patch) | |
| tree | 3971f24b20fd8dd1a51ea0c2c4ffacb5e2e741a1 /zebra/zebra_mlag.h | |
| parent | d5167496339ba462e0b6e8d69363b393f6c6ffa0 (diff) | |
Zebra: Fixing Review comments in Zebra_MLAG
Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mlag.h')
| -rw-r--r-- | zebra/zebra_mlag.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/zebra/zebra_mlag.h b/zebra/zebra_mlag.h index 01459cd29c..015c94bf5c 100644 --- a/zebra/zebra_mlag.h +++ b/zebra/zebra_mlag.h @@ -1,5 +1,5 @@ /* Zebra mlag header. - * Copyright (C) 2018 Cumulus Networks, Inc. + * Copyright (C) 2019 Cumulus Networks, Inc. * Donald Sharp * * This file is part of FRR. @@ -37,14 +37,8 @@ extern uint8_t mlag_wr_buffer[ZEBRA_MLAG_BUF_LIMIT]; extern uint8_t mlag_rd_buffer[ZEBRA_MLAG_BUF_LIMIT]; extern uint32_t mlag_rd_buf_offset; -static inline void zebra_mlag_reset_write_buffer(void) -{ - memset(mlag_wr_buffer, 0, ZEBRA_MLAG_BUF_LIMIT); -} - static inline void zebra_mlag_reset_read_buffer(void) { - memset(mlag_rd_buffer, 0, ZEBRA_MLAG_BUF_LIMIT); mlag_rd_buf_offset = 0; } |
