mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-27 20:01:15 -05:00
CLEANUP: haterm: remove unreachable labels hstream_add_data()
This function does not return a status. It nevers fails. Remove some useled dead code.
This commit is contained in:
parent
5aa30847ae
commit
a5a053e612
1 changed files with 0 additions and 4 deletions
|
|
@ -496,12 +496,8 @@ static void hstream_add_data(struct htx *htx, struct hstream *hs)
|
|||
TRACE_STATE("unable to add payload to HTX message", HS_EV_HSTRM_ADD_DATA, hs);
|
||||
|
||||
hs->to_write -= ret;
|
||||
leave:
|
||||
TRACE_LEAVE(HS_EV_HSTRM_ADD_DATA, hs);
|
||||
return;
|
||||
err:
|
||||
TRACE_DEVEL("leaving on error", HS_EV_HSTRM_ADD_DATA);
|
||||
goto leave;
|
||||
}
|
||||
|
||||
/* Build the HTTP response with eventually some BODY data depending on ->to_write
|
||||
|
|
|
|||
Loading…
Reference in a new issue