summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mlag_private.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_mlag_private.c')
-rw-r--r--zebra/zebra_mlag_private.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_mlag_private.c b/zebra/zebra_mlag_private.c
index 6cb40a9c1..6a31d4705 100644
--- a/zebra/zebra_mlag_private.c
+++ b/zebra/zebra_mlag_private.c
@@ -71,10 +71,8 @@ int zebra_mlag_private_write_data(uint8_t *data, uint32_t len)
static void zebra_mlag_sched_read(void)
{
- frr_with_mutex (&zrouter.mlag_info.mlag_th_mtx) {
- thread_add_read(zmlag_master, zebra_mlag_read, NULL,
- mlag_socket, &zrouter.mlag_info.t_read);
- }
+ thread_add_read(zmlag_master, zebra_mlag_read, NULL, mlag_socket,
+ &zrouter.mlag_info.t_read);
}
static int zebra_mlag_read(struct thread *thread)