]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/pm: remove dead code in navi10_emit_clk_levels and navi10_print_clk_levels
authorJesse Zhang <jesse.zhang@amd.com>
Mon, 3 Jun 2024 05:16:36 +0000 (13:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 19:34:20 +0000 (15:34 -0400)
commit839eb4bbbd9617e60ef2091cb7bad2bae7c519d5
treef81de47559cfe42add58fae7199c94a23e6b5363
parent27b500b77b82bd18c9357111fb639dcbdda31c26
drm/amd/pm: remove dead code in navi10_emit_clk_levels and navi10_print_clk_levels

Since the range of the varibable i is 0 - 3.
So execution cannot reach this statement: default.

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c