Commit a40cd58
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>1 parent ee5eda8 commit a40cd58
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
533 | 532 | | |
534 | | - | |
535 | 533 | | |
| 534 | + | |
536 | 535 | | |
537 | 536 | | |
538 | 537 | | |
| |||
0 commit comments