[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190720094138.GA14101@hari-Inspiron-1545>
Date: Sat, 20 Jul 2019 15:11:38 +0530
From: Hariprasad Kelam <hariprasad.kelam@...il.com>
To: Rex Zhu <rex.zhu@....com>, Evan Quan <evan.quan@....com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
"David (ChunMing) Zhou" <David1.Zhou@....com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, Huang Rui <ray.huang@....com>,
Chengming Gui <Jack.Gui@....com>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
hersen wu <hersenxs.wu@....com>, amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drm/amd/powerplay: Remove multiple occurrence of asic_setup
fix below issue reported by coccicheck
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c:1306:52-53:
asic_setup: first occurrence line 1309, second occurrence line 1337
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@...il.com>
---
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
index e32ae9d..c29f527 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
@@ -1306,7 +1306,6 @@ static int smu10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uin
static const struct pp_hwmgr_func smu10_hwmgr_funcs = {
.backend_init = smu10_hwmgr_backend_init,
.backend_fini = smu10_hwmgr_backend_fini,
- .asic_setup = NULL,
.apply_state_adjust_rules = smu10_apply_state_adjust_rules,
.force_dpm_level = smu10_dpm_force_dpm_level,
.get_power_state_size = smu10_get_power_state_size,
--
2.7.4
Powered by blists - more mailing lists