MINOR: sink: remove useless check after sink creation
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 14 Sep 2023 09:41:46 +0000 (11:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Oct 2023 13:34:31 +0000 (15:34 +0200)
commitec770b7924848570c72a4e6d82f612d0c44936b1
treebed841395d49d8827f4a11bd5c14a7b183a2c019
parentcb01da8d127edf6cd604a5e3c6c28eb9defaabcd
MINOR: sink: remove useless check after sink creation

It's useless to check if sink has been created with BUF type after
calling sink_new_buf() since the goal of the function is to create
a new sink of BUF type.
src/sink.c