CLEANUP: peers: Remove unreachable code in peer_session_create()

An error label is now unreachable in peer_session_create().

This patch should fix the issue #1704.
This commit is contained in:
Christopher Faulet 2022-05-18 08:02:37 +02:00
parent fa463afa8f
commit 9e3c8d5512

View File

@ -3219,9 +3219,6 @@ static struct appctx *peer_session_create(struct peers *peers, struct peer *peer
appctx_wakeup(appctx);
return appctx;
/* Error unrolling */
out_free_appctx:
appctx_free_on_early_error(appctx);
out_close:
return NULL;
}