]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Drop unnecessary goto in xe_device_create
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 4 Feb 2026 19:10:26 +0000 (11:10 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 5 Feb 2026 16:59:24 +0000 (08:59 -0800)
commitf27e64422054ff78566316509120f7ee2ecc7660
tree89fc36798f5d8db1842fafc918e7f82e2bbf928b
parentec49857ad181f2a68a3bea15422f2936ff366d47
drm/xe: Drop unnecessary goto in xe_device_create

The error label in this function just does an immediate return without
any further cleanup or processing.  Replace the goto statements with
returns.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260204191025.3957211-2-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_device.c