summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2025-02-18 23:05:12 +0300
committerMatt Roper <matthew.d.roper@intel.com>2025-02-19 18:14:59 +0300
commita1e5b6d83e03d60d15ba393cbbd7d5c13e5cf0b3 (patch)
treede7c5a38e39ca2127820269b3cb9cc42598e8edc /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentf2cd50990d210eb70bf38d8077836772d4216a36 (diff)
downloadlinux-a1e5b6d83e03d60d15ba393cbbd7d5c13e5cf0b3.tar.xz
drm/xe: Drop unnecessary GT lookup in xe_exec_queue_create_ioctl()
xe_exec_queue_create_ioctl() performs a lookup of the xe_gt for the GT ID passed from userspace, but the result is never actually used. Since there's already a separate (and earlier) check that the ID passed from userspace is valid, the unnecessary lookup can be removed. Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218200511.4050060-2-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions