Skip to contentSkip to conversation

drm/amd/dc: fix semicolon.cocci warnings

PATCH In review Julia Lawall 2 participants 2 messages Feb 14, 2017

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

PATCH 1/1 drm/amd/dc: fix semicolon.cocci warnings

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

---

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add

dc display driver

 dc_resource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c +1 -1
@@ -135,7 +135,7 @@ static void update_num_audio(
 		break;
 	default:
 		DC_ERR("DC: unexpected audio fuse!\n");
-	};
+	}
 }
 
 bool resource_construct(

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

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

Harry

Quoted 20 lines · Julia Lawall

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

---

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add

dc display driver

  dc_resource.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c static void update_num_audio( · line 141

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c +1 -1
@@ -135,7 +135,7 @@ static void update_num_audio(
  		break;
  	default:
  		DC_ERR("DC: unexpected audio fuse!\n");
-	};
+	}
  }
 
  bool resource_construct(

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