[PATCH v2] drm/msm/dpu: removed logically dead code

2021-12-06 Thread Ameer Hamza
Fixed coverity warning by removing the dead code Addresses-Coverity: 1494147 ("Logically dead code") Signed-off-by: Ameer Hamza --- Changes in v2: removed the 'fail' part completely by moving DPU_ERROR and return statement in place of corresponding goto statements. --- .../drm/msm/disp/dpu1/d

Re: [PATCH v2] drm/msm/dpu: removed logically dead code

2021-12-03 Thread Dmitry Baryshkov
On 03/12/2021 22:32, Ameer Hamza wrote: Fixed coverity warning by removing the dead code Addresses-Coverity: 1494147 ("Logically dead code") Signed-off-by: Ameer Hamza Reviewed-by: Dmitry Baryshkov --- Changes in v2: removed the 'fail' part completely by moving DPU_ERROR and return state