diff options
| author | Li Wang <liwang@kylinos.cn> | 2026-04-10 05:34:33 +0300 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-06-15 15:06:18 +0300 |
| commit | 8c72b1f0e2a284f6c775789a7a52f772a1052d3e (patch) | |
| tree | fe253afab58c2ed3e73ecbfac01037dc111c4126 /include/linux/timerqueue.h | |
| parent | 567820f02a9b34df65130c10ffa617c36e63a04d (diff) | |
| download | linux-8c72b1f0e2a284f6c775789a7a52f772a1052d3e.tar.xz | |
fuse: drop redundant err assignment in fuse_create_open()
In fuse_create_open(), err is initialized to -ENOMEM immediately before
the fuse_alloc_forget() NULL check. If forget allocation fails,
it branches to out_err with that value. If it succeeds, it falls through
without modifying err, so err is still -ENOMEM at the point where
fuse_file_alloc() is called. The second err = -ENOMEM before
fuse_file_alloc() therefore is redundant.
Signed-off-by: Li Wang <liwang@kylinos.cn>
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
