Skip to contentSkip to conversation

drm/amdgpu/df3.6: remove unused variable

PATCH In review Alex Deucher 2 participants 3 messages Jan 11, 2020 – Jan 13, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/df3.6: remove unused variable

Unused so drop it.

---
 drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/df_v3_6.c +1 -1
index 3761c8cc1156..f51326598a8c 100644
@@ -264,7 +264,7 @@ static DEVICE_ATTR(df_cntr_avail, S_IRUGO, df_v3_6_get_df_cntr_avail, NULL);
 
 static void df_v3_6_query_hashes(struct amdgpu_device *adev)
 {
-	u32 chan_cfg, tmp;
+	u32 tmp;
 
 	adev->df.hash_status.hash_64k = false;
 	adev->df.hash_status.hash_2m = false;
Signature · 6 lines
2.24.1

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

Ping?

Alex

Quoted 22 lines · Alex Deucher

Unused so drop it.

---
 drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/df_v3_6.c +1 -2
index 3761c8cc1156..f51326598a8c 100644
@@ -264,7 +264,7 @@ static DEVICE_ATTR(df_cntr_avail, S_IRUGO, df_v3_6_get_df_cntr_avail, NULL);
 
 static void df_v3_6_query_hashes(struct amdgpu_device *adev)
 {
-       u32 chan_cfg, tmp;
+       u32 tmp;
 
        adev->df.hash_status.hash_64k = false;
        adev->df.hash_status.hash_2m = false;
--
Quoted 2 lines

2.24.1

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

Reviewed-by
#2 lore raw
Quoted 9 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: 2020/January/13, Monday 1:42 PM
To: amd-gfx list <[email protected]>
Cc: Deucher, Alexander <[email protected]>
Subject: Re: [PATCH] drm/amdgpu/df3.6: remove unused variable

Quoted 10 lines

Ping?

Alex

Quoted 4 lines · Alex Deucher

Unused so drop it.

Quoted 16 lines
Quoted 16 lines
---
 drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/df_v3_6.c +1 -1
index 3761c8cc1156..f51326598a8c 100644
@@ -264,7 +264,7 @@ static DEVICE_ATTR(df_cntr_avail, S_IRUGO,
 df_v3_6_get_df_cntr_avail, NULL);
 
 static void df_v3_6_query_hashes(struct amdgpu_device *adev)  {
-       u32 chan_cfg, tmp;
+       u32 tmp;
 
Quoted 8 lines
Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/df_v3_6.c +0 -1
        adev->df.hash_status.hash_64k = false;
        adev->df.hash_status.hash_2m = false;
--

2.24.1

_______________________________________________
amd-gfx mailing list
[email protected]

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