]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/bo: Remove unusued variable
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 14 Dec 2023 21:39:53 +0000 (13:39 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:46:17 +0000 (11:46 -0500)
commit80166e95679742588bd6c17ede46fa46867739f7
treecfd82f67b531e03f86fe725dabc9a3b37fd2ad5d
parent40fb5ed290d49b568d8547ecfdc5bd83f217dfe1
drm/xe/bo: Remove unusued variable

bo is not used since all the checks are against tbo. Fix warning:

../drivers/gpu/drm/xe/xe_bo.c: In function ‘xe_evict_flags’:
../drivers/gpu/drm/xe/xe_bo.c:250:23: error: variable ‘bo’ set but not used [-Werror=unused-but-set-variable]
  250 |         struct xe_bo *bo;

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_bo.c