]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move declarations under conditional branch
authorTejas Upadhyay <tejas.upadhyay@intel.com>
Tue, 7 Oct 2025 10:02:08 +0000 (15:32 +0530)
committerTejas Upadhyay <tejas.upadhyay@intel.com>
Wed, 8 Oct 2025 09:37:41 +0000 (15:07 +0530)
commit15b3036045188f4da4ca62b2ed01b0f160252e9b
tree58db17d735aec04ea5dcf273cc62420fc1c1809b
parentc09a9933af08cdcb295ccc65a6d9862bf8474706
drm/xe: Move declarations under conditional branch

The xe_device_shutdown() function was needing a few declarations
that were only required under a specific condition. This change
moves those declarations to be within that conditional branch
to avoid unnecessary declarations.

Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20251007100208.1407021-1-tejas.upadhyay@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
drivers/gpu/drm/xe/xe_device.c