diff options
| author | Linus Torvalds <[email protected]> | 2025-03-05 17:35:40 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-03-05 17:35:40 +0000 |
| commit | 0d2d0f3d93ddd6556f23c917d910becd9925ddeb (patch) | |
| tree | 56bcd85e017a52d25d5592273cc47c97d87ef1a3 /net/unix/unix_bpf.c | |
| parent | include/linux/pipe_fs_i: Add htmldoc annotation for "head_tail" member (diff) | |
| download | kernel-0d2d0f3d93ddd6556f23c917d910becd9925ddeb.tar.gz kernel-0d2d0f3d93ddd6556f23c917d910becd9925ddeb.zip | |
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 <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
