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

Abhinav Kumar quic_abhinavk at quicinc.com
Tue May 23 01:56:07 UTC 2023



On 5/18/2023 7:38 PM, 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.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>


More information about the dri-devel mailing list