From patchwork Fri Nov 13 13:49:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324312 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213330ils; Fri, 13 Nov 2020 05:50:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVr5Qaj+qYd5T5jqdU741vfbXjCsH9AYQu0XZgzCiBLfnhbFkDcwP23vumrGUq8RhsdwBs X-Received: by 2002:a17:90a:9c5:: with SMTP id 63mr3027605pjo.195.1605275454640; Fri, 13 Nov 2020 05:50:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275454; cv=none; d=google.com; s=arc-20160816; b=ik1mVtY0MKcYD6lo9L3eir9sJGuqfVkuO8YsschBGjhhYLGt07IoRbiKnFI1xrmMED tgVLh3Y2pgNlTlg5CfsFw732gbxfiwTkj+Z4q1AkBcn6aKsmDAF7l7TeuL2SdBEDQHL8 clTNZ017gNNadLQgp77F7EWaCWm+P/p4uI+iOgwyXTLGWcJaALhLZVWPP/Vzp4Iseymf /HFGfQDMhd2ZWlRldGek3Wc3E4IBFIARxgfVBIASKceRRLferX9iahi9RmLFY1QxXHiu OP5t+3nWXgi+iQNxr8ZRxhLgWl3FVJyECiwG2+5b4UBeE6Ed74KsbbsC0ni9f/d1OCfD fucQ== 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=jkEmAKwVqvM3JNRIGW8LtEk9QJiIJZMudh6jcRNt2J4=; b=Zw3x70U4D+rNUO5OeDEe2lBHr/iqxRDrgUjOZ/CiAq//KylX7Z3elSO5s2t6gOiRiM fvqGWRrI1GwDKNAN5PyRQyLJGKLrmN4i7ua9aBiN8MiKUM/gsKj42pCkPLFuFrzmg20f SkbE8a8JDn0XUlZoKPNwNl+hoYsfss/U7UGu6INr2iXt9NCDDiWGuZ6/IFjIljxfmWpK ZoZYOYljsF3jy3zF7YWdGZTI25Dj+C29kkwldOgf6Ci0L+qBxzS5KZWammV0UWDxDC70 EInTQVFR1I1xjkKcgkw/k/x5ombFmP9pCeMIfmRu3XVtWw5p93BwYchTW8bNIX6fMjmx LidQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RQ4JxYXE; 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: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a3si8185457pfa.281.2020.11.13.05.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:54 -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=RQ4JxYXE; 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 6DBFB6E4FE; Fri, 13 Nov 2020 13:50:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id E8BC16E511 for ; Fri, 13 Nov 2020 13:50:32 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id c17so9948698wrc.11 for ; Fri, 13 Nov 2020 05:50:32 -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=AFNrPQ81hqHHaageZvOMHIm1NdSavC7vYP+Jm2PmTBQ=; b=RQ4JxYXE11d9TyWCp2SMLBbDOIjUVovjqhMATP9WC+h2x9s9FvDe9rasQ6PW2pS+CX zLsjz9l2Cba9QeatwTFalD928dJP6Kqptw2OGDt9+JbpXHCWZQgfkxrsphmt2oxLRbX8 Gc4C1tB5v7bFClbC4XagOq7bfZ4JFAXXcZ+mWVEvPoNpb9RJp/asE2wa5QaNl/J2fLjf 7zCUcMOpcwVkbWLXCviGXnneB5qiP96b3LkmJsFK2KMk+tF/MLBp7LMdRqWoV1oCqpKs iZcvU793B2TQQsEww4DI7BRtU2uPq5G6mm9B8nsdJsy1tbB491pGDnUQCxwWVlxzUaYD ZHAA== 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=AFNrPQ81hqHHaageZvOMHIm1NdSavC7vYP+Jm2PmTBQ=; b=NM9itUoZJ7KqC7DnopxPoi/Y2Yv/WrpYD8sbLS5Z6xoHn1AeaS/4BNr8uyOYR3aAhu yNq75IdDufoANoMylEwL90WU8w71SJoa5gcOgOmKgPHJV6Jinmvb0thoQLCVApQudf6I t35ROrabfxR3zk+qWOXIHr7IqjfT63vGDgT/e4wYnR+1XjYkW+USh3lPmC0ALGwLbUHO p6ZXMmfqrt41uDSL/EP8vnZZMlDxgVujJoZqP4PbWkLK/meDT//bCuCSPJqxLYQhR8nN 5AFSm/FfbINVMXrPP70zEGeWT8LvQSs2NwAJ5oCk5gmrGURAk3hKZ0NuI05CAx0Oav8J 9v2w== X-Gm-Message-State: AOAM532/mjdjN4cu+LyDZkUkD2gSwr9LuG6rje1kzmX2hIY7kcSeqYuR 0/Yw4VpjVA9wIhmRMEn9zNxigQ== X-Received: by 2002:adf:df88:: with SMTP id z8mr3609403wrl.113.1605275431632; Fri, 13 Nov 2020 05:50:31 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/amd/amdgpu/gfx_v7_0: Remove unused struct definition Date: Fri, 13 Nov 2020 13:49:38 +0000 Message-Id: <20201113134938.4004947-41-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5211:45: warning: ‘gfx_v7_0_ip_block’ defined but not used [-Wunused-const-variable=] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 9 --------- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h | 1 - 2 files changed, 10 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index cb07bc21dcbe5..04e1e92f5f3cf 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -5208,15 +5208,6 @@ static void gfx_v7_0_get_cu_info(struct amdgpu_device *adev) cu_info->lds_size = 64; } -static const struct amdgpu_ip_block_version gfx_v7_0_ip_block = -{ - .type = AMD_IP_BLOCK_TYPE_GFX, - .major = 7, - .minor = 0, - .rev = 0, - .funcs = &gfx_v7_0_ip_funcs, -}; - const struct amdgpu_ip_block_version gfx_v7_1_ip_block = { .type = AMD_IP_BLOCK_TYPE_GFX, diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h index 6fb9c1524691f..eedce7d007f1d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h @@ -24,7 +24,6 @@ #ifndef __GFX_V7_0_H__ #define __GFX_V7_0_H__ -extern const struct amdgpu_ip_block_version gfx_v7_0_ip_block; extern const struct amdgpu_ip_block_version gfx_v7_1_ip_block; extern const struct amdgpu_ip_block_version gfx_v7_2_ip_block; extern const struct amdgpu_ip_block_version gfx_v7_3_ip_block;