Re: [PATCH][next] drm/i915/gvt: remove redundant assignment to pointer map

2024-02-11 Thread Zhi Wang
On Fri, 9 Feb 2024 16:08:29 + Colin Ian King wrote: > The pointer map is being initialized with a value that is never > read, it is being re-assigned later on in a for-loop. The > initialization is redundant and can be removed. > > Cleans up clang scan build warning: >

[PATCH][next] drm/i915/gvt: remove redundant assignment to pointer map

2024-02-09 Thread Colin Ian King
The pointer map is being initialized with a value that is never read, it is being re-assigned later on in a for-loop. The initialization is redundant and can be removed. Cleans up clang scan build warning: drivers/gpu/drm/i915/gvt/interrupt.c:346:28: warning: Value stored to 'map' during its