diff options
author | Himal Prasad Ghimiray <[email protected]> | 2024-04-12 23:42:05 +0530 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-04-18 13:26:34 -0700 |
commit | 5a73dd61a0288490b0cfba44dd1cb8c9a0fc65f7 (patch) | |
tree | 469a223073c843ce62e28dbe8969806fdb3cf1a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cba22c911c7009aec4de2c890f3440cbb3fe67e4 (diff) |
drm/xe: Simplify function return using drmm_add_action_or_reset()
Instead of assigning the value of drmm_add_action_or_reset() to err and
returning err in case of failure and 0 in case of success, simply return
the result of drmm_add_action_or_reset().
-v2:
cleanup in xe_display too.
Cc: Rodrigo Vivi <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Signed-off-by: Himal Prasad Ghimiray <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions