]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/sa: Tidy up coding style in init()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 20 Dec 2024 19:41:57 +0000 (20:41 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 18 Jan 2025 23:11:58 +0000 (00:11 +0100)
commit7e937cdf18164ea276ce0f4bbc5755e0031280e0
treeb3314a6e8801be7365b122badb17c2f99da5c846
parent97ee0e351f6ebbcb2a2dccdff726f75f728fede8
drm/xe/sa: Tidy up coding style in init()

There is no need to use tile_to_xe() since we already got the xe.
And we should keep all variable declarations together, no need for
separate sa_manager declaration.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220194205.995-5-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_sa.c