[PATCH 0/5] drm/amd: Adjustments for three function implementations

Markus Elfring Markus.Elfring at web.de
Tue Apr 11 13:36:30 UTC 2023


Date: Tue, 11 Apr 2023 14:36:36 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (5)
  amdgpu: Move a variable assignment behind a null pointer check in amdgpu_ras_interrupt_dispatch()
  display: Move three variable assignments behind condition checks in trigger_hotplug()
  display: Delete three unnecessary variable initialisations in trigger_hotplug()
  display: Delete a redundant statement in trigger_hotplug()
  display: Move an expression into a return statement in dcn201_link_encoder_create()

 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c       |  3 ++-
 .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 19 ++++++++++---------
 .../amd/display/dc/dcn201/dcn201_resource.c   |  4 +---
 3 files changed, 13 insertions(+), 13 deletions(-)

--
2.40.0



More information about the dri-devel mailing list