The assignment will be overwritten by the later, but the variable
is not used.
The clang_analyzer complains as follows:
drivers/gpu/drm/i915/display/intel_dpll.c:1568:2 warning:
Value stored to 'dpio_val' is never read
Reported-by: Zeal Robot
Signed-off-by: luo penghao
---
drive
Variable is not used in functions, and its assignment is redundant too.
So it should be deleted.
The clang_analyzer complains as follows:
drivers/gpu/drm/i915/display/vlv_dsi.c:143:2 warning:
Value stored to 'data' is never read.
Reported-by: Zeal Robot
Signed-off-by: l
:2 warning:
Value stored to 'bestn' is never read.
Reported-by: Zeal Robot
Signed-off-by: luo penghao
---
drivers/gpu/drm/i915/display/intel_dpll.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dpll.c
b/drivers/gpu/drm/i915/
Variable is not used in the loop, and its assignment is redundant too.
So it should be deleted.
The clang_analyzer complains as follows:
drivers/gpu/drm/i915/display/intel_fb.c:1018:3 warning:
Value stored to 'cpp' is never read.
Reported-by: Zeal Robot
Signed-off-by: l
' is never read.
Reported-by: Zeal Robot
Signed-off-by: luo penghao
---
drivers/gpu/drm/drm_crtc_helper.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc_helper.c
b/drivers/gpu/drm/drm_crtc_helper.c
index bff9175..0e97e0a 100644
--- a/drivers/gpu/drm/drm_crtc_he
From: penghao luo
The assignment of variables will be overwritten later, so the
assignment here is meaningless.
The clang_analyzer complains as follows:
drivers/gpu/drm/i915/gem/i915_gem_userptr.c:291: warning:
Although the value stored to 'ret' is used in the enclosing expression,
the value i