[PATCH v3 6/7] drm/msm/dpu: drop temp variable from dpu_encoder_phys_cmd_init()

Abhinav Kumar quic_abhinavk at quicinc.com
Thu Jun 1 19:37:49 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
> two lines below. Drop the temporary variable.
> 
> 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