commit | 0d2d0f3d93ddd6556f23c917d910becd9925ddeb | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 05 07:35:40 2025 -1000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 05 07:35:40 2025 -1000 |
tree | 56bcd85e017a52d25d5592273cc47c97d87ef1a3 | |
parent | cfced12f5100e50d56bc587299393fd33c1169a9 [diff] |
fs/pipe: remove buggy and unused 'helper' function While looking for incorrect users of the pipe head/tail fields (see commit c27c66afc449: "fs/pipe: Fix pipe_occupancy() with 16-bit indexes"), I found a bug in pipe_discard_from() that looked entirely broken. However, the fix is trivial: this buggy function isn't actually called by anything, so let's just remove it ASAP. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>