Skip to contentSkip to conversation

drm/amdgpu: Remove unneeded semicolon

PATCH Applied Zheng Bin 3 participants 3 messages Apr 24, 2020

Subsystems (2)
lore
Share & tools
lore

Zheng Bin

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Remove unneeded semicolon

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2534:2-3: Unneeded semicolon

---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -1
index 09aa5f509bd2..43d84214995c 100644
@@ -2531,7 +2531,7 @@ static void gfx_v9_0_init_sq_config(struct amdgpu_device *adev)
 		break;
 	default:
 		break;
-	};
+	}
 }
 
 static void gfx_v9_0_constants_init(struct amdgpu_device *adev)

--
2.26.0.106.g9fadedd

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

maintainer Reviewed-by on v1 1/1
#1 lore raw

Am 24.04.20 um 09:56 schrieb Zheng Bin:

Quoted 6 lines

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2534:2-3: Unneeded semicolon

Quoted 18 lines
---
  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -2
index 09aa5f509bd2..43d84214995c 100644
@@ -2531,7 +2531,7 @@ static void gfx_v9_0_init_sq_config(struct amdgpu_device *adev)
  		break;
  	default:
  		break;
-	};
+	}
  }
 
  static void gfx_v9_0_constants_init(struct amdgpu_device *adev)
--
Quoted 2 lines

2.26.0.106.g9fadedd

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

Applied
#2 lore raw

Applied. Thanks!

Alex

Quoted 27 lines · Christian König

Am 24.04.20 um 09:56 schrieb Zheng Bin:

Quoted 6 lines

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2534:2-3: Unneeded semicolon

Quoted 16 lines
---
  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -1
index 09aa5f509bd2..43d84214995c 100644
@@ -2531,7 +2531,7 @@ static void gfx_v9_0_init_sq_config(struct amdgpu_device *adev)
              break;
      default:
              break;
-     };
+     }
  }
 
Quoted 9 lines
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -1
  static void gfx_v9_0_constants_init(struct amdgpu_device *adev)
--

2.26.0.106.g9fadedd

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

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