[Intel-gfx] [PATCH i-g-t 18/43] kms_rotation_crc: Remove useless comments
Damien Lespiau
damien.lespiau at intel.com
Thu Jul 10 20:00:19 CEST 2014
A typical example of what comments shouldn't be:
case DRM_PLANE_TYPE_PRIMARY: /* primary */
Well, yes!, it's written just there, PRIMARY!
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
tests/kms_rotation_crc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index bc11b9c..e4af24d 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -107,11 +107,11 @@ static bool prepare_crtc(data_t *data)
return false;
switch (data->type) {
- case DRM_PLANE_TYPE_OVERLAY: /* Sprite */
+ case DRM_PLANE_TYPE_OVERLAY:
igt_info("Sprite plane\n");
plane = igt_output_get_plane(output, IGT_PLANE_2);
break;
- case DRM_PLANE_TYPE_PRIMARY: /* Primary */
+ case DRM_PLANE_TYPE_PRIMARY:
igt_info("Primary plane\n");
plane = igt_output_get_plane(output, IGT_PLANE_PRIMARY);
break;
--
1.8.3.1
More information about the Intel-gfx
mailing list