Skip to content

Commit e6f141b

Browse files
T.J. Mercierbrauner
authored andcommitted
splice: remove duplicate noinline from pipe_clear_nowait
pipe_clear_nowait has two noinline macros, but we only need one. I checked the whole tree, and this is the only occurrence: $ grep -r "noinline .* noinline" fs/splice.c:static noinline void noinline pipe_clear_nowait(struct file *file) $ Fixes: 0f99fc5 ("splice: clear FMODE_NOWAIT on file if splice/vmsplice is used") Signed-off-by: "T.J. Mercier" <tjmercier@google.com> Link: https://lore.kernel.org/20250423180025.2627670-1-tjmercier@google.com Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent e079d7c commit e6f141b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/splice.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* here if set to avoid blocking other users of this pipe if splice is
4646
* being done on it.
4747
*/
48-
static noinline void noinline pipe_clear_nowait(struct file *file)
48+
static noinline void pipe_clear_nowait(struct file *file)
4949
{
5050
fmode_t fmode = READ_ONCE(file->f_mode);
5151

0 commit comments

Comments
 (0)