From: Damien Lespiau Subject: [PATCH i-g-t 18/43] kms_rotation_crc: Remove useless comments Date: Thu, 10 Jul 2014 19:00:19 +0100 Message-ID: <1405015244-11370-19-git-send-email-damien.lespiau@intel.com> References: <1405015244-11370-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E8306E1ED for ; Thu, 10 Jul 2014 11:01:31 -0700 (PDT) In-Reply-To: <1405015244-11370-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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 --- 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