aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-07-14 21:49:04 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-11-03 01:28:06 -0500
commitf302edb9d822804e72df3fa6ba270234050c678b (patch)
tree01ba6ce53daa3bb3a604fdef197802a7b58fa3a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parent4dd53b84ff23424e2fe1e902decacdb49303e3d3 (diff)
downloadlinux-f302edb9d822804e72df3fa6ba270234050c678b.tar.gz
linux-f302edb9d822804e72df3fa6ba270234050c678b.tar.bz2
linux-f302edb9d822804e72df3fa6ba270234050c678b.zip
switch netlink_getsockbyfilp() to taking descriptor
the only call site (in do_mq_notify()) obtains the argument from an immediately preceding fdget() and it is immediately followed by fdput(); might as well just replace it with a variant that would take a descriptor instead of struct file * and have file lookups handled inside that function. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions