Skip to contentSkip to conversation

drm/amdgpu: remove unused variable

PATCH In review Nirmoy Das 2 participants 2 messages May 26, 2020

Subsystems (2)
lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 drm/amdgpu: remove unused variable

Fixes 1291bd70a2ee4 ("drm/amdgpu/sriov skip the update of SMU_TABLE_ACTIVITY_MONITOR_COEFF")
---
 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c +0 -1
index 7f414034d2ef..67980f50d8ec 100644
@@ -1335,7 +1335,6 @@ static int arcturus_get_power_limit(struct smu_context *smu,
 static int arcturus_get_power_profile_mode(struct smu_context *smu,
 					   char *buf)
 {
-	struct amdgpu_device *adev = smu->adev;
 	DpmActivityMonitorCoeffInt_t activity_monitor;
 	static const char *profile_name[] = {
 					"BOOTUP_DEFAULT",
Signature · 6 lines
2.26.2

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - Internal Distribution Only]

Best Regards,
Kevin
________________________________
From: amd-gfx <[email protected]> on behalf of Nirmoy Das <[email protected]>
Sent: Tuesday, May 26, 2020 9:03 PM
To: [email protected] <[email protected]>
Cc: Das, Nirmoy <[email protected]>
Subject: [PATCH 1/1] drm/amdgpu: remove unused variable

Fixes 1291bd70a2ee4 ("drm/amdgpu/sriov skip the update of SMU_TABLE_ACTIVITY_MONITOR_COEFF")
---
 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c +0 -1
index 7f414034d2ef..67980f50d8ec 100644
@@ -1335,7 +1335,6 @@ static int arcturus_get_power_limit(struct smu_context *smu,
 static int arcturus_get_power_profile_mode(struct smu_context *smu,
                                            char *buf)
 {
-       struct amdgpu_device *adev = smu->adev;
         DpmActivityMonitorCoeffInt_t activity_monitor;
         static const char *profile_name[] = {
                                         "BOOTUP_DEFAULT",

--
2.26.2

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7CKevin1.Wang%40amd.com%7C89d1e7c484d245eb2c3008d801752b56%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637260950051221593&amp;sdata=OaC97%2F%2B9vUXRVY8jTvGQnaMQbMpvlIv1tCR9u9dHlz8%3D&amp;reserved=0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx