From patchwork Tue Apr 19 20:42:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8883311 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F23D8BF440 for ; Tue, 19 Apr 2016 20:42:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2377020306 for ; Tue, 19 Apr 2016 20:42:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1490A202E9 for ; Tue, 19 Apr 2016 20:42:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9DE5F6E2B2; Tue, 19 Apr 2016 20:42:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 759A26E2B2 for ; Tue, 19 Apr 2016 20:42:09 +0000 (UTC) Received: by mail-yw0-f193.google.com with SMTP id i22so3991604ywc.1 for ; Tue, 19 Apr 2016 13:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IRgnmy7CfNcj3rmmJ6X29tqWbxozf++n47NlUxSPdu0=; b=k879rDnFT4p1q3NVkpQMBHYaHW/I2xMdw2EOj1PBV3VKqj3s5ztq7nmnA13M1fOnu/ 078DdqZYQ5gnFpjafNzZYzR8ouNQoYAZg3j0YcltGLTEg8MGlPBl0i9MT+5hLXR/CDm4 dZNdLMS985jv15R+cW3uYw7eFERJknwpB1YNgs5nDy9z7RIpZid64einRXGvhEps156D 2KJljfiCu8GGkq+GP8UFsV6s1aCp20AEt4ZgxZqILLgOTIj1qH55LrdfTq4hTIqqBPBE iqxxSqbyEVGeynf524sujWgoHLaN2FrYj9yXubQjADsIq8hqkZhAm6gYDH75LKzVqHtd wmTg== X-Gm-Message-State: AOPr4FUYmDNw+g2iVxDEkg44m7wrCBRx0s/h3Olw6ZAo8iaETU5k940tIPXnb7aiMEojdg== X-Received: by 10.13.213.7 with SMTP id x7mr3239480ywd.253.1461098528327; Tue, 19 Apr 2016 13:42:08 -0700 (PDT) Received: from jade.localdomain ([201.82.24.203]) by smtp.gmail.com with ESMTPSA id i188sm40325689ywg.33.2016.04.19.13.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Apr 2016 13:42:06 -0700 (PDT) From: Gustavo Padovan To: Greg Kroah-Hartman Subject: [PATCH v10 RESEND 1/3] staging/android: remove redundant comments on sync_merge_data Date: Tue, 19 Apr 2016 17:42:00 -0300 Message-Id: <1461098522-1508-1-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 Cc: devel@driverdev.osuosl.org, Daniel Stone , Daniel Vetter , Riley Andrews , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , Gustavo Padovan , John Harrison X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/uapi/sync.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/uapi/sync.h b/drivers/staging/android/uapi/sync.h index a0cf357..4467c76 100644 --- a/drivers/staging/android/uapi/sync.h +++ b/drivers/staging/android/uapi/sync.h @@ -21,9 +21,9 @@ * @fence: returns the fd of the new fence to userspace */ struct sync_merge_data { - __s32 fd2; /* fd of second fence */ - char name[32]; /* name of new fence */ - __s32 fence; /* fd on newly created fence */ + __s32 fd2; + char name[32]; + __s32 fence; }; /**