From patchwork Thu Mar 17 17:30:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8613491 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 E37BEC0553 for ; Thu, 17 Mar 2016 17:30:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 190D6202F2 for ; Thu, 17 Mar 2016 17:30:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 476FB201F5 for ; Thu, 17 Mar 2016 17:30:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DF9126E2F9; Thu, 17 Mar 2016 17:30:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f196.google.com (mail-yw0-f196.google.com [209.85.161.196]) by gabe.freedesktop.org (Postfix) with ESMTPS id A7DD46E2F9 for ; Thu, 17 Mar 2016 17:30:32 +0000 (UTC) Received: by mail-yw0-f196.google.com with SMTP id g6so7281659ywb.0 for ; Thu, 17 Mar 2016 10:30:32 -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=zDrzhwTTVpzvMZIeficl2F0USK0/OrTUbpnBWpg1hiI=; b=itgKaMEULc5G9bdA+KTdhYYpShnF6skbjJhCeFiGcCId6Oij0Iczq/jJA8YTPhuPsW qxeLlzf+IWbv0Odczv+vMbTUgWmuP71/8sja0beN5hXc3a3MfrvG3hYB58B+9+lwI69K Bn5/tG2LqhcDp/5qkoTYWlO5jg5i9ZIBe5vqzBPSUxR09IKylS3gJL9ramCnBJsQnTC3 T67RqGLwof4JvCtW4vqXbsDaxTDNnYY1bCM+dO4J5QtP6lhF4TZfYrcRbYmCXoXD2x4B QbyyiHe5iAzZ3+0E9wlY56bq2xa5vDx6+qmTadkGJ2Cvk/uyebs8bjrkQ56Vb1qYLT0B 3cGg== X-Gm-Message-State: AD7BkJJ2HlVvs8W2l1W8fqDsk1nosrO8B73JBgk0D0qIgttEGJ9YY5t/UziJxRErVRXLVA== X-Received: by 10.13.238.130 with SMTP id x124mr4538471ywe.166.1458235831223; Thu, 17 Mar 2016 10:30:31 -0700 (PDT) Received: from jade.localdomain ([177.194.47.65]) by smtp.gmail.com with ESMTPSA id r8sm5737970ywb.20.2016.03.17.10.30.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Mar 2016 10:30:29 -0700 (PDT) From: Gustavo Padovan To: Greg Kroah-Hartman Subject: [PATCH v9 1/3] staging/android: remove redundant comments on sync_merge_data Date: Thu, 17 Mar 2016 14:30:15 -0300 Message-Id: <1458235817-28375-1-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.0 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?= , akpm@linux-foundation.org, 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=-2.9 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; }; /**