CLEANUP: http_ext: remove useless BUG_ON() in http_handle_xot_header()

A useless BUG_ON() statement was let in a conditional block that already
checks that the condition cannot be met within the block. Remove the
useless BUG_ON()
This commit is contained in:
Aurelien DARRAGON 2024-10-16 11:40:00 +02:00
parent d28d016f43
commit 9262b7109e
1 changed files with 0 additions and 1 deletions

View File

@ -870,7 +870,6 @@ int http_handle_xot_header(struct stream *s, struct channel *req)
}
if (s->be->http_ext && s->be->http_ext->xot) {
/* backend */
BUG_ON(!s->be->http_ext);
b_xot = s->be->http_ext->xot;
}