[PATCH v3 7/7] drm/msm/dpu: simplify dpu_encoder_phys_wb_init()

Abhinav Kumar quic_abhinavk at quicinc.com
Thu Jun 1 19:38:45 UTC 2023



On 6/1/2023 10:22 AM, Dmitry Baryshkov wrote:
> There is no need to assign a result to temp varable just to return it
> after a goto. Drop the temporary variable and goto and return the result
> directly.
> 
> Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---

Tested-by: Abhinav Kumar <quic_abhinavk at quicinc.com> # sc7280


More information about the dri-devel mailing list