diff options
| author | Maxime Ripard <mripard@kernel.org> | 2024-06-21 16:20:36 +0100 |
|---|---|---|
| committer | Dave Stevenson <dave.stevenson@raspberrypi.com> | 2024-09-09 13:02:53 +0100 |
| commit | 5171d86a62658dbcb9876fae87e1132320e9a83a (patch) | |
| tree | 75f1952adb7315dc3e687a1dfc0645f6eea97ec1 /scripts/gdb/linux/vmalloc.py | |
| parent | f18029bdf2e85d281b6e1a79c33daf84b5730e59 (diff) | |
drm/vc4: plane: Use return variable in atomic_check
The vc4_plane_atomic_check() directly returns the result of the final
function it calls.
Using the already defined ret variable to check its content on error,
and a separate return 0 on success, makes it easier to extend.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240621152055.4180873-13-dave.stevenson@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions
