diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-01-03 16:52:27 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-01-07 19:43:56 +0300 |
commit | 643b06e29ec00b6e32f69af5ce4aaf1220fdf5f9 (patch) | |
tree | 38450a09790af701682add10b3285ac38944f391 /tools/perf/scripts/python/task-analyzer.py | |
parent | d7cde2e6bc76d724394f4bb858453c004efe9fcc (diff) | |
download | linux-643b06e29ec00b6e32f69af5ce4aaf1220fdf5f9.tar.xz |
drm/i915/mst: change return value of mst_stream_find_vcpi_slots_for_bpp()
The callers of mst_stream_find_vcpi_slots_for_bpp() don't need the
returned slots for anything. On the contrary, they need to jump through
hoops to just distinguish between success and failure. Just return 0
instead of slots from mst_stream_find_vcpi_slots_for_bpp() for success,
and simplify the callers.
There's a pointless ret local variable that we can drop in the process.
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7b3671a548c893b1bb62151d41f90bb8ce842ccc.1735912293.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions