From patchwork Thu Apr 17 03:54:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 4005601 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5E0DE9F2BA for ; Thu, 17 Apr 2014 03:55:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A21B62034F for ; Thu, 17 Apr 2014 03:55:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C2F312034E for ; Thu, 17 Apr 2014 03:55:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 23B516EAEC; Wed, 16 Apr 2014 20:55:30 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by gabe.freedesktop.org (Postfix) with ESMTP id A74E36EAEC for ; Wed, 16 Apr 2014 20:55:28 -0700 (PDT) Received: by mail-ve0-f169.google.com with SMTP id pa12so11791212veb.14 for ; Wed, 16 Apr 2014 20:55:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8XRBcx4/uuSobH8Svu6mtl3FTfWjux/yTn9BUgXwFv8=; b=QOlIKztIs8wACk1/g6pMxVwfPNXNFGjAn6Yq32jVfbWle9ISZJ/wmeVIabdHRqVUDo 9viB5k74rwIsyBelwPza2fWfXy9mUkWMZGdPA0VKTk41mSmsYoYO9ftrdhBy5UFOYCoc aWRCSu4LlvF5SQyrcg4rNNWpJkdbYv4QJ81Eg= 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:in-reply-to :references; bh=8XRBcx4/uuSobH8Svu6mtl3FTfWjux/yTn9BUgXwFv8=; b=T6EPdJlOw/LUpSZlGy8QQW/RbcNaEVaSBnQ4wUotMgKE+jCGLSvs3aUN96OvR4eIy2 Msq/po808YOSk/Iw0dfxGFAYfLjKkARoxzRgaVfPvjYXOC9wO0AxUk6vu0chDMciD5lR mTLHNz974ir3I3VdhFv22pTj+hLPg2dfIdVZ2ZznJQcz87pjwIGKY+Y120PO7WHXb/DU /hKpYBo8kRfPra+WlxhSHFwk4iirhhXXSKJdMsvOZcSHF5EMcxNaDYQnhAOfogpMcboB Nqw9/2aSXBdXXoCJxwaxgKyMuBg+NlCnxNl2aXUYpeP17lw90hsR7DmB19BEP18BDeqL WEpg== X-Gm-Message-State: ALoCoQmFLeQN470p+PTA2O+ryqdzajJXVGMEhBzC8yxgDmZd2eGimsLZlqy4JYb33oP5UXW1BcKq X-Received: by 10.58.123.71 with SMTP id ly7mr9453585veb.11.1397706928263; Wed, 16 Apr 2014 20:55:28 -0700 (PDT) Received: from djkurtzt530-glaptop.corp.google.com ([203.208.61.193]) by mx.google.com with ESMTPSA id zb18sm21234884vdb.18.2014.04.16.20.55.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 20:55:27 -0700 (PDT) From: Daniel Kurtz To: dri-devel@lists.freedesktop.org, Inki Dae Subject: [PATCH 7/7] exynos: removed unused fd field Date: Thu, 17 Apr 2014 11:54:41 +0800 Message-Id: <1397706881-19735-9-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1397706881-19735-1-git-send-email-djkurtz@chromium.org> References: <1397706881-19735-1-git-send-email-djkurtz@chromium.org> Cc: Kyungmin Park X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 The documentation says fd holds the fd from prime import/export. However, it isn't actually used, nor is it necessary, so let's just remove it. Signed-off-by: Daniel Kurtz Acked-by: Inki Dae --- exynos/exynos_drmif.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/exynos/exynos_drmif.h b/exynos/exynos_drmif.h index 92f613e..c7c1d44 100644 --- a/exynos/exynos_drmif.h +++ b/exynos/exynos_drmif.h @@ -41,7 +41,6 @@ struct exynos_device { * @dev: exynos device object allocated. * @handle: a gem handle to gem object created. * @flags: indicate memory allocation and cache attribute types. - * @fd: file descriptor exported into dmabuf. * @size: size to the buffer created. * @vaddr: user space address to a gem buffer mmaped. * @name: a gem global handle from flink request. @@ -50,7 +49,6 @@ struct exynos_bo { struct exynos_device *dev; uint32_t handle; uint32_t flags; - int fd; size_t size; void *vaddr; uint32_t name;