Message ID | 20210115181313.3431493-35-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 2a6589cf2daf61f402dd6978eb97a4560494d81d |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89545jap; Fri, 15 Jan 2021 10:14:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxj0hr7jb7Hcjod8Kr0GNwdBzB8vlT2WdVnffOvgVN0npGvXgg4MB+1UiEGIJXRGgEgJhIR X-Received: by 2002:a17:90b:1087:: with SMTP id gj7mr11616651pjb.41.1610734473921; Fri, 15 Jan 2021 10:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734473; cv=none; d=google.com; s=arc-20160816; b=koL7krTWncdJsszAdXwhR7SAi1F5VBr2+AjqwXX/uHDIDlTodamZLkmOMR+HfRTikn wuBsYoshOBzHrF3fJHi5B3t2NXmo13NFe6Cm7+9mMYOrraVfSUNeX1RIxYBk7O6pJJjx ZHDab3+eQ8jDQrd2JfYZfPSsk6hPWhzJ51zwb8mhPQWLYgnwPVGRCevH0cQdUJZJ3LbY ux92uQsN1PMs5xXwClEtG0yjmflJOInJqDAt+IfGCdA6FI/YEjJfSuWzIhTjAQjgw7y/ q7iR6Ew2B67Az0vzmlVJtpZi3IFnXUu/rCmoxvbwqrv3yx1j/L6PTLrRg7DlmETL/y7k yENQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=Al8WpG8Yf+ajHVwIjRlMJGhncqw6hGB0EsOs+a55mXA=; b=dTsW7tbxvbaqyL0ngKLEmNy7ow/djYXSCNEiYQ8+EEjkj/E77ZHynEIuqEgLr2NvUV AjRvgGy6XOhC/e29B28+T/4VDASCUadZnHHNmNdTk6jNVlEgjGpYvxnEyPJDgTVuwsX6 0WoO54K8w90/z860VKyootKxB8/QGtRHHVhsI7thTG/WvvSd8Q0MOkXH5JgIkg7qQeuO 0uSLzWWnVFz47StcVtg6vuBimCLUe76TRIU4zQPq89mc9e5L/R1gQZSXI1CSiStCPrkt KOiNEr/CtBYPq3N++Xtus34dZKYiIsYcIHxIe54MgR9ITWesQRWeqpsSDQPF+FYsgcVS iESw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fbb83iZM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id p12si12927669pjb.168.2021.01.15.10.14.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fbb83iZM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 19F6A6E4AB; Fri, 15 Jan 2021 18:14:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id B627E6E49C for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 18:14:08 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id c124so8205039wma.5 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 10:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e4bk6qPXM66REGe7AKVzGIJtGtbIBYeQRfbgzaiwlYw=; b=fbb83iZMimVayaujWI7iqzvQdiDkC19anKbQzeQLH9LqVfAVeEbBkPQu4blHEoLKev i3i3zIQCkHlJGER+MRp3TWy9xSSMDlpvtIy+T8YazOBmD33GNLsZnl7rNXojiajHELwb cfXqzHGIWk5gyOSmMyiNZe/p2nKDoGO67Drb4QHc7MZVy5K6Y05wlwy1LkXtY/7aTZX5 s6NjqotAtkTBef5VABXoZTQFMfwN/VaHFPoi2Pgt2WgYoCyKJqnPkAehJwXPmsHli5Z+ 6JX3/EkQaeQjxG+o00JgKm8ma0pfZza2tMXHL+iJTR7bI7/yGXY8jSVIv97xynJUvCuo xupw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e4bk6qPXM66REGe7AKVzGIJtGtbIBYeQRfbgzaiwlYw=; b=AmmKH3sCEPz5eSoBElBWbThy4IKwZZAu730HDOPXBT6eOpZd3Gh6rVWUV+KwuHh+A8 sQCY/jE1LvENe5TBdgoRGJ4zm+NCba4U7E4c3NZ/orbcG14XAQTWe+uWTvJMt897MQM9 l66cP/Id2JZ9SaazXi9BZIqX2bTrCrBm3Uq5K7frcIo1gBm5LCMneJN2AB+ayWRQESwM wrS/WbVGPg7PmNiMT0JcS2hXf4OnZBCBCAq7aFcHhocXQj5P19wT+G9NFegg2dr2Pced 5iduOEs+XvrrDpoEqpvp0QyLc+b4FnipH0rHWwtHk1xc1l9BlNrMNUAMwqdRwFHJjgcd UmLA== X-Gm-Message-State: AOAM531HxlTTt/AsSI/VqhZlNmIgM7Un4rgi7MUgM4tDDB1EItWBrcLb bMayLHtzgDmhpEaiWatiPfvUnA== X-Received: by 2002:a1c:9684:: with SMTP id y126mr10136669wmd.2.1610734447408; Fri, 15 Jan 2021 10:14:07 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:06 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 34/40] drm/gma500/mmu: Remove unused function 'psb_get_default_pd_addr' Date: Fri, 15 Jan 2021 18:13:07 +0000 Message-Id: <20210115181313.3431493-35-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU
|
expand
|
diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index 42b53c01b79f4..014daf0280485 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b/drivers/gpu/drm/gma500/mmu.c @@ -416,15 +416,6 @@ struct psb_mmu_pd *psb_mmu_get_default_pd(struct psb_mmu_driver *driver) return pd; } -/* Returns the physical address of the PD shared by sgx/msvdx */ -uint32_t psb_get_default_pd_addr(struct psb_mmu_driver *driver) -{ - struct psb_mmu_pd *pd; - - pd = psb_mmu_get_default_pd(driver); - return page_to_pfn(pd->p) << PAGE_SHIFT; -} - void psb_mmu_driver_takedown(struct psb_mmu_driver *driver) { struct drm_device *dev = driver->dev;
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/mmu.c:420:10: warning: no previous prototype for ‘psb_get_default_pd_addr’ [-Wmissing-prototypes] Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/gma500/mmu.c | 9 --------- 1 file changed, 9 deletions(-)