From 3ddf7680fd64134b32f1304d6cf33b9971b8a1e5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 30 May 2023 19:43:24 -0400 Subject: [PATCH] zebra: Consolidate the stream_failure section with normal return Signed-off-by: Donald Sharp --- zebra/zebra_mlag.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/zebra/zebra_mlag.c b/zebra/zebra_mlag.c index 6713dbc967..7715eab0a8 100644 --- a/zebra/zebra_mlag.c +++ b/zebra/zebra_mlag.c @@ -338,8 +338,6 @@ static void zebra_mlag_post_data_from_main_thread(struct event *thread) } } - stream_free(s); - return; stream_failure: stream_free(s); if (zebra_s)