Re: [PATCH] drm/i915/userptr: remove redundation assignment to variable ret

2022-08-01 Thread Niranjana Vishwanathapura
On Sat, Jul 30, 2022 at 01:23:42PM +0100, Colin Ian King wrote: Variable ret is assigned a value that is never read; it is either being re-assigned during the following while-loop or after the loop. The assignmnt is redundant and can be removed. Cleans up clang scan build warning: drivers/gpu/dr

[PATCH] drm/i915/userptr: remove redundation assignment to variable ret

2022-07-30 Thread Colin Ian King
Variable ret is assigned a value that is never read; it is either being re-assigned during the following while-loop or after the loop. The assignmnt is redundant and can be removed. Cleans up clang scan build warning: drivers/gpu/drm/i915/gem/i915_gem_userptr.c:295:11: warning: Although the value