From patchwork Wed Mar 5 05:01:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 3770621 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7B2F8BF40C for ; Wed, 5 Mar 2014 05:02:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B305720218 for ; Wed, 5 Mar 2014 05:02:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D1C8120225 for ; Wed, 5 Mar 2014 05:02:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 02040FA2E1; Tue, 4 Mar 2014 21:02:41 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by gabe.freedesktop.org (Postfix) with ESMTP id C7A58FA2E1 for ; Tue, 4 Mar 2014 21:02:12 -0800 (PST) Received: by mail-pa0-f45.google.com with SMTP id kl14so570805pab.18 for ; Tue, 04 Mar 2014 21:02:12 -0800 (PST) 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=qnFrmeY1BnFLZ7wmuJTnsB6WOqpEqP7Na7T9HGGyixU=; b=f/lOJrmbgxPnV6DbxnUYwESEqi4qCgZ843pXefMECsvziFbV3bZ8xXtK9cI87w4+aE jUANMT6fFDxUep+cqy0Tt0MmT8Yt/SbRl55K5MBlAJkgYM0zc9IiXoMT+TTykf+s7K6L HBizdxDMeOtxcC0r8+sFSl7QUJ2RbV1QDGROo= 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=qnFrmeY1BnFLZ7wmuJTnsB6WOqpEqP7Na7T9HGGyixU=; b=J3QW3md1lD+v2vYEc8KwTVpOUnOCp+C1FodWPxX3LEMDoAdh/BUhuZWlBrIiNSrAz1 CKzMesXTez9KVmJaBGHKJ737BprSTnmYE7dPrRg4NAfbEtE08ocTcL8eOFHjCLzdHA0I McK2ZIsOVOlGB4ZVkT5p774TTzu0k0aZjboJPwAOmknT6ZGF8w40fNcMk7sB9lKRwqsf q1308+qzfv4Po5raSkbhDXNYnsBuwvZNDg//82BBg2jo8yYRek1fD4BXeLS+AFbJe/Me xqOJDfCN7/ihe6GeJGi35rAhu2FfCdKKNIujYhIi+HIY2sFKEnutvsBDWXM0SVrwIKsG 1zlA== X-Gm-Message-State: ALoCoQmDIPIeGtEufq182HXR2VsobGQOoHPbTMqONxwAXEQFMcEKYqfzK1K6cx9vrPwPGc+vH/p0 X-Received: by 10.68.131.202 with SMTP id oo10mr4189370pbb.35.1393995732465; Tue, 04 Mar 2014 21:02:12 -0800 (PST) Received: from djkurtzt530-glaptop.corp.google.com ([216.239.55.197]) by mx.google.com with ESMTPSA id ac5sm3266130pbc.37.2014.03.04.21.02.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Mar 2014 21:02:11 -0800 (PST) From: Daniel Kurtz To: dri-devel@lists.freedesktop.org, Inki Dae Subject: [PATCH 8/8] exynos: removed unused fd field Date: Tue, 4 Mar 2014 21:01:44 -0800 Message-Id: <1393995704-29184-9-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 1.9.0.rc1.175.g0b1dcb5 In-Reply-To: <1393995704-29184-1-git-send-email-djkurtz@chromium.org> References: <1393995704-29184-1-git-send-email-djkurtz@chromium.org> Cc: Kyungmin Park X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.1 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 --- 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;