From patchwork Mon Mar 14 21:09:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8583851 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2B7D29F3D1 for ; Mon, 14 Mar 2016 21:09:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5214620254 for ; Mon, 14 Mar 2016 21:09:25 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6EEE82022D for ; Mon, 14 Mar 2016 21:09:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 771346E5EA; Mon, 14 Mar 2016 21:09:18 +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 0142F6E5EA for ; Mon, 14 Mar 2016 21:09:16 +0000 (UTC) Received: by mail-yw0-f196.google.com with SMTP id s188so12920878ywe.2 for ; Mon, 14 Mar 2016 14:09:15 -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=Gnn9appIx4gCh598Y3OJTbFr+3cVD0EG+5VaLXqsrgNTJz0R4FKl5JeWLN3WX2jD5o zfu0RIFFBwArz89NxeQkthvBRo+czBpQaTmf+zcI8dLvcYTKU6DKf6GH8vnClTaKfDho 8hQF9ljMdHAqUODAmTetafru8AY0z4/cfn7J1T19YotTwHFu3z6QVQ8VIM9vY2JNpf8c VrMtUYZQYesAkFqHmEDgzqcE3jiwtnKvKQHl0qvIhIA56t36AHFp2d+hyFC5vk3eYM8F LGmIhpBC491xgwCbZUlH6l8NkEiKn6fejky6ERGmHD9tRZ4kmwJFl88tUWvs7hWM+ojm QF/A== X-Gm-Message-State: AD7BkJJFBqheWFGNJvi4m/58FKsErO4uPJ0XgIiGVQ9Pu2e/XPwGKSj+41wURaz3Wof69g== X-Received: by 10.37.230.70 with SMTP id d67mr14068719ybh.123.1457989754370; Mon, 14 Mar 2016 14:09:14 -0700 (PDT) Received: from jade.localdomain ([177.194.47.65]) by smtp.gmail.com with ESMTPSA id i6sm15279299ywe.11.2016.03.14.14.09.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Mar 2016 14:09:13 -0700 (PDT) From: Gustavo Padovan To: Greg Kroah-Hartman Subject: [PATCH v8 1/2] staging/android: remove redundant comments on sync_merge_data Date: Mon, 14 Mar 2016 18:09:04 -0300 Message-Id: <1457989745-25392-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?= , 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=-4.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; }; /**