From patchwork Wed Apr 20 19:18:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8894361 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 CEA3ABF440 for ; Wed, 20 Apr 2016 19:19:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 12B5620268 for ; Wed, 20 Apr 2016 19:19:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1A6AE20263 for ; Wed, 20 Apr 2016 19:19:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 705106EAF1; Wed, 20 Apr 2016 19:18:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f195.google.com (mail-yw0-f195.google.com [209.85.161.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D0F46EAF1 for ; Wed, 20 Apr 2016 19:18:55 +0000 (UTC) Received: by mail-yw0-f195.google.com with SMTP id u62so7985616ywe.3 for ; Wed, 20 Apr 2016 12:18:55 -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=i41BMWXPF4is/VR/RvOlhe3/nTeeuc04zibGoY6//As61rVA/PwSaulK+y3YFfLyoS ILj0A8PUkj6aHg498olp65W+buirDvSpptDClL53uR1jmYYACcI3IrppCSyFcxEArzHi kGPTVc188LtM7WFhyV52RWXh8rEMf3uzUyxUNPzFeaFPG9m84dSXnghF7Nol7DSIwsob 4xGy04/8toyOOSydi0ENAn6ppmSaBP+VLja0qS5y7nPc/rBkWWRqBEg9a9oGxal6PTGi 4gFcS6Z94nd3WT9NAUqzjBgDCH/oY1vo0JqsMWzq8DyXvqKzv/i1tkk/roWUYDCgbTUb jYHw== X-Gm-Message-State: AOPr4FXXMipfYEibyI9SEhlOISHf/rLOfEs3ycj/X2X8hq/U1UpTN/z/cTtL8znjKxnwcQ== X-Received: by 10.13.194.134 with SMTP id e128mr6432452ywd.57.1461179934122; Wed, 20 Apr 2016 12:18:54 -0700 (PDT) Received: from jade.localdomain ([201.82.24.203]) by smtp.gmail.com with ESMTPSA id z20sm4610946ywd.44.2016.04.20.12.18.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 12:18:52 -0700 (PDT) From: Gustavo Padovan To: Greg Kroah-Hartman Subject: [PATCH 1/3] staging/android: remove redundant comments on sync_merge_data Date: Wed, 20 Apr 2016 16:18:44 -0300 Message-Id: <1461179926-20542-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=-5.2 required=5.0 tests=BAYES_00, 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; }; /**