aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2025-03-05 17:35:40 +0000
committerLinus Torvalds <[email protected]>2025-03-05 17:35:40 +0000
commit0d2d0f3d93ddd6556f23c917d910becd9925ddeb (patch)
tree56bcd85e017a52d25d5592273cc47c97d87ef1a3 /net/switchdev/switchdev.c
parentinclude/linux/pipe_fs_i: Add htmldoc annotation for "head_tail" member (diff)
downloadkernel-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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions