summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLi Wang <liwang@kylinos.cn>2026-04-10 10:34:33 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2026-06-15 14:06:18 +0200
commit8c72b1f0e2a284f6c775789a7a52f772a1052d3e (patch)
treefe253afab58c2ed3e73ecbfac01037dc111c4126 /drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git
parent567820f02a9b34df65130c10ffa617c36e63a04d (diff)
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 'drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions