MINOR: buffer: remove the check for output on b_del()
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Jul 2018 09:39:49 +0000 (11:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:43 +0000 (16:23 +0200)
commitabed1e7f34aafa75c89f6ff3d2eecce29f800db0
tree2fbf372a76b823d6e5a48366270572ec9b9d0f58
parentd54a8ceb97a7ed47591607952f311be20add0837
MINOR: buffer: remove the check for output on b_del()

b_del() is used in :
  - mux_h2 with the demux buffer : always processes input data
  - checks with output data though output is not considered at all there
  - b_eat() which is not used anywhere
  - co_skip() where the len is always <= output

Thus the distinction for output data is not needed anymore and the
decrement can be made inconditionally in co_skip().
include/common/buf.h
include/proto/channel.h