drm/xe/xe_exec : In xe_exec_ioctl remove deadcode
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 13 Mar 2024 15:05:45 +0000 (20:35 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 13 Mar 2024 20:00:26 +0000 (16:00 -0400)
commit023f5c8e904504a069c8faece034c5653646e68a
treee9949c21ff5732f70a102c0112efd7a074a2128d
parent989d07ac6bb7d269e975f85e8f683f496faa0380
drm/xe/xe_exec : In xe_exec_ioctl remove deadcode

At label err_unlock_list the condition write_label will never be true.
Remove the deadcode line for write_label true.

Reported by static analyzer.

Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Cc: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240313150545.2830408-3-himal.prasad.ghimiray@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_exec.c