diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-06-01 20:22:36 +0300 |
|---|---|---|
| committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-06-04 05:41:47 +0300 |
| commit | 5d1227d1c7a38adb26a0203ecaf5873b2bbbf7b6 (patch) | |
| tree | c69f34717c5fef6ecfa4a46544af16ca81570b3e /tools/perf/scripts/python | |
| parent | drm/msm/dpu: drop temp variable from dpu_encoder_phys_cmd_init() (diff) | |
| download | linux-5d1227d1c7a38adb26a0203ecaf5873b2bbbf7b6.tar.gz linux-5d1227d1c7a38adb26a0203ecaf5873b2bbbf7b6.zip | |
drm/msm/dpu: simplify dpu_encoder_phys_wb_init()
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@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Abhinav Kumar <quic_abhinavk@quicinc.com> # sc7280
Patchwork: https://patchwork.freedesktop.org/patch/540639/
Link: https://lore.kernel.org/r/20230601172236.564445-8-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
