From patchwork Thu Nov 26 13:42:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 333017 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp156388ejs; Thu, 26 Nov 2020 05:44:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQw5JJQr1gnaXvHa8LcVg/3hRGOL0v5fgJohWvLtP46SJjIeTF36TFPDHNC7CdgloUxksA X-Received: by 2002:aa7:82c5:0:b029:19a:aaac:9b4c with SMTP id f5-20020aa782c50000b029019aaaac9b4cmr200982pfn.75.1606398249872; Thu, 26 Nov 2020 05:44:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398249; cv=none; d=google.com; s=arc-20160816; b=Uy5V4+GS2UM0EcTUjCSY3pJIWrdQpxQaAoevPb/ri38XlqsgQp3I/pfmhatWVQJMIT GHa/4OP1Tpeu8Y6nUmcbfIm5TH4EroN0qKLer54hfwY3GOQq1erD5PGN2xdoN5dSgu8/ fk0JV2tUkQ9tCHb4I7YHdK1Skf4vKKevkg65pjb5qh6cuTzr4sKTgzb9dqq0nzg7jfzD 2X4HwsF/gtz18NyO9fID9tJ1F8xN0rLtEdPUOADyedFTdBe1m1bsV1k9deKzowKuCH87 HIwzXGClyHwf8v762EOlMPi6J1xgnzOjQPkKuECSJdGQYfegJIKP+8rc9H5LlKiFCZ2T k6Aw== 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=KN81/6brxxqJ+2XakS3esvUKUtqNNQXJ+QKQMhBZfuc=; b=dWNhyWOzwErG3BK938L2ry55kZD3qGfHqDvl0dJvLjMbI2cnFyvoIeY6PyzId21cy1 jcxiMdZlZTD0wO1lO6aqwxQoj6Vii44NnG6FBw8jatpkqPpchHIsxmJ4Pcw2kEvzZ7sH pAbbptVoRj6h7yweQQHFrGVGUKVO1E9SOFEI3fIo7ScE3KvSNdSwen1Iplotyvga35F3 j9ouNC2xsibPvodIvPw7Emj3frV37aSd31vZIEJnzFv7pZxPTlrYJrCEIwIdUqKuktdX qD5Q4Xw9JwFxcfXRlWfLAqcd+443SOkdtnYfZP7Thi5plmVhEsZ34+AuzmN5azb0fET2 S5og== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zEVwjuFP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r21si5138949pga.183.2020.11.26.05.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:44:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zEVwjuFP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 249526E958; Thu, 26 Nov 2020 13:43:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5780B6E960 for ; Thu, 26 Nov 2020 13:43:43 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id x22so2182492wmc.5 for ; Thu, 26 Nov 2020 05:43:43 -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=zLqbaHF4oQ5Kpx8U3OblV0PJbsOkOQQuGTnjvNzXmds=; b=zEVwjuFPYeI2CWymPGhLbmOeKMvU5W3/wdholUcUe5f/F7/8WIFuy6M4mCe2yTvJnf pBRES8hLWfSY4jRjS/Md271YTIjdVoLHGh+8kdCF9wNzy3YXwC+HOAfM3nibIIdNfowt i1TVSkH6uoteGEpwYjcBNUzX+ypeYJFKJsoLmaHNK9p5XgVq9YNMUv/1sxtKLLNokI4N WT4nfVAmbqBpmgp5DoptVNYdwvr3XqjgwDXKR8Vr0Y7zTdZBDzO8E4eL9iCyIsXjkQ/+ AacXFu31oboKBxp6l7xi9WFI+noLXhM6aoe0OJrYzxVqCbccmnQ28laoCs8P71Ehozuk xvcg== 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=zLqbaHF4oQ5Kpx8U3OblV0PJbsOkOQQuGTnjvNzXmds=; b=bvgMJAGz/HBi5yvMRyxd/3PXLhLacehmdAQYDiuN2IiEO7r+cmaREUeF1wrR/Sjfjr 9yNOGNX6EwHoHOZXFOCj0o366RZRfSCPO1trHcz82DtTap8XYvtSQuceIMLFUKxYMGhL G6Gc1SQEkJgciDj76V+xlC4HMlB5JTpjBTuqrWQc6MQYTT7mm3dqyw+kPcu/CKY8cP7W 9FvMM5bwI1ObD83mC5o8M0sYbplHhYfeN7NLNDr9usPhWwIQn2c25eaL1WWyvu4NWWvA l13YCpP5quiAQEjMhrB3nDO7D9wIA6a4vT/g1IDPm9qdGA/KqavEO1YoNM6byUxGABAQ 1ynw== X-Gm-Message-State: AOAM5326F1A6HfLg4JnAnbQc9RtrbbroDuBsktL4tMHqIj364Mb1PM3n M1QqiIcRukmlu6GYL7nAPfawUg== X-Received: by 2002:a1c:808d:: with SMTP id b135mr3423753wmd.45.1606398221973; Thu, 26 Nov 2020 05:43:41 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 39/40] drm/amd/display/dc/basics/fixpt31_32: Remove unused variable 'dc_fixpt_pi' Date: Thu, 26 Nov 2020 13:42:39 +0000 Message-Id: <20201126134240.3214176-40-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-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: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= 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/../display/dc/basics/fixpt31_32.c:29:32: warning: ‘dc_fixpt_pi’ defined but not used [-Wunused-const-variable=] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Lee Jones Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c b/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c index 59f37563704ad..1726bdf89bae8 100644 --- a/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c +++ b/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c @@ -26,7 +26,6 @@ #include "dm_services.h" #include "include/fixed31_32.h" -static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL }; static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL }; static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };