mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
pipe: drop an always true check in anon_pipe_write()
The check operates on the stale value of 'head' and always loops back. Just do it unconditionally. No functional changes. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://lore.kernel.org/r/20250303230409.452687-2-mjguzik@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
ee5eda8ea5
commit
a40cd5849d
Loading…
Reference in New Issue
Block a user