[Freedreno] [PATCH] drm/msm/dpu: make _dpu_core_perf_crtc_update_bus() void

2020-05-04 Thread Jason Yan
This function does not need to return an error so make it return void. This fixes the following coccicheck warning: drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:178:5-8: Unneeded variable: "ret". Return "0" on line 193 Signed-off-by: Jason Yan --- drivers/gpu/drm/msm/disp/

[Freedreno] [PATCH] drm/msm/dpu: remove set but not used 'topology'

2020-04-26 Thread Jason Yan
Fix the following gcc warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:958:30: warning: variable ‘topology’ set but not used [-Wunused-but-set-variable] struct msm_display_topology topology; ^~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan