From patchwork Mon Nov 23 11:19:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330612 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414750ejb; Mon, 23 Nov 2020 03:22:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqOdkD9SV7DHBL5hoEBNIXyz7nJFzMIfOmnfh6ncw2SEsGcqfn/m6A/8n+fFIVzftrJffC X-Received: by 2002:a17:902:b283:b029:d9:e783:717a with SMTP id u3-20020a170902b283b02900d9e783717amr12489369plr.84.1606130446145; Mon, 23 Nov 2020 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130446; cv=none; d=google.com; s=arc-20160816; b=OnPd8TKOjKRRelk6i1qG9ki5l4fYK6pj7bxYsTAGKrQx//Frd6UU11uXyl4UtbU4xd sJirgX8cYycvTRW4ij5jPJj/1qWJq1wEibRhH1NOLz86Up9eMJEqB8eJJUzUq6I709zK +dzPs3iqIRKanD2RgnKFtQ+LR0n2ICshOiyQb10MMUe1j3CgrsWarZrC2Z1Y5UMm/Z7p d3wuvxhk+ymv4i5bZHILSOekSuUdX2vLtuV4jnmmgaGpOQ69hwXuXb3tTd3/+XaxMOtQ zRoAWrkUb9xkp7STA9BGAYie9UJvnALgEqaxKy8k5g795QR44+/LaqcauqQ6cMPREHAv 5Tkg== 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=riEEkR3uCmAXbCa1Xju0JZ3EZ1mUPzqan7beOB0jazU=; b=MDtxMnxbpgGBBQLGNwjalfL6C1ccZpmigugVLo2ichft8JM2kGomaolI3G4cqPSWln jkdYJbMSpD4Q3MPV6A7QNbWsj86XSDA8CtSO/diVcFNk2Z4/Wi3KEK07S/9s1Dc0fS3D /inMOHJVDamgnFQ/SbDg47lraeL6Cg8yBPeb4E1KRI3SEyH6s7tRiEjWOiIvWexuBG9t YgFUVBXbrXkJH+S6Hf+s1/mInY09xJKNepgTP853cqyS7mvtOlmyh3qYxwSBSlLMpqzn dK0uSV52EuoPBg3aM67GBajUc4qGgvgKawoA8KA5fGI+5ZYdljptnomH3tJbUhxaLYDv fmXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Mgn5NMLh; 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 bs17si10203240pjb.20.2020.11.23.03.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:46 -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=Mgn5NMLh; 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 CD73F89AA7; Mon, 23 Nov 2020 11:20:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC4FB89683 for ; Mon, 23 Nov 2020 11:20:17 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id e7so674993wrv.6 for ; Mon, 23 Nov 2020 03:20:17 -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=dUeixF4MexcQptzRTHrmHc3KXAc8UlMXol5+btOxzyI=; b=Mgn5NMLhJpAl73mAfi6yoe9e8RtL/B1FIcdsGg2VTegVerYl9+T3G23KUJvYn0BDoF dlBP/X8WktZxc0ZCu+O1ZljebWw81+gjSvSbLG5Bdk3nGL5OBbiZzNo9YhiQIKSF1lUL gOix0w2ugmEjS9JVXUW28BxIQSvVZdpD8jZMgQi92EHVLJHcXDFnYWL43sF4I96SBH7/ D9sVx3HH7YaHGxybPEAnIA4O5QASV4xoEgRv2q93MKVZfRajp6lsW72rlLbIGxKvetL+ /YpGoq+Ty/beR9aTF2YRNUaA+MPUlWoK3EMlvY7XVLzZdA6Bc3uv+HsiBmhRl21IeO4j TSmg== 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=dUeixF4MexcQptzRTHrmHc3KXAc8UlMXol5+btOxzyI=; b=XB42uHLjYCvOasOcSgA9z2S2Cp8umLA0WZQHQenWUTQLFXk94PVP8csumRL1sH/vnY 3xjtsLU+4CCKp/eJ830kYDmLFAVnSvtZWd7PUXJWM2siCwmOVytguoOBVCgOjc7Q0iCB n4yn6I++oKD+XtaZtgQEIKg4pFIN7j4nWB1MsNu9oHJfno1icXzfm7I4OKowSN8blFP8 fA2eNGBc18UEimu9mczZMyzKGYsMk09OFkQ5b/4CMUxZ7EYXs+zrm39LZ+qE+qPStFPm YJdtZxuJfjvbnUsRpw8R1BX/I+c83eE9QBuEUp4dIQdSms8V3eE5f+uJzZgDL78aIX0m AcHQ== X-Gm-Message-State: AOAM530ev2/bNBdKvfN0h2B4HGse+lAo2SEsj2BoRV5D6SlvhS3lXxSC QTVRg0toP0AfO83oRzSE9eJdCQ== X-Received: by 2002:adf:9d49:: with SMTP id o9mr30393682wre.413.1606130416608; Mon, 23 Nov 2020 03:20:16 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 39/40] drm/amd/amdgpu/gmc_v9_0: Remove unused table 'ecc_umc_mcumc_status_addrs' Date: Mon, 23 Nov 2020 11:19:18 +0000 Message-Id: <20201123111919.233376-40-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-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, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= 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/gmc_v9_0.c:382:23: warning: ‘ecc_umc_mcumc_status_addrs’ defined but not used [-Wunused-const-variable=] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 35 --------------------------- 1 file changed, 35 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index 0c3421d587e87..fbee43b4ba64d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -379,41 +379,6 @@ static const uint32_t ecc_umc_mcumc_ctrl_mask_addrs[] = { (0x001d43e0 + 0x00001800), }; -static const uint32_t ecc_umc_mcumc_status_addrs[] = { - (0x000143c2 + 0x00000000), - (0x000143c2 + 0x00000800), - (0x000143c2 + 0x00001000), - (0x000143c2 + 0x00001800), - (0x000543c2 + 0x00000000), - (0x000543c2 + 0x00000800), - (0x000543c2 + 0x00001000), - (0x000543c2 + 0x00001800), - (0x000943c2 + 0x00000000), - (0x000943c2 + 0x00000800), - (0x000943c2 + 0x00001000), - (0x000943c2 + 0x00001800), - (0x000d43c2 + 0x00000000), - (0x000d43c2 + 0x00000800), - (0x000d43c2 + 0x00001000), - (0x000d43c2 + 0x00001800), - (0x001143c2 + 0x00000000), - (0x001143c2 + 0x00000800), - (0x001143c2 + 0x00001000), - (0x001143c2 + 0x00001800), - (0x001543c2 + 0x00000000), - (0x001543c2 + 0x00000800), - (0x001543c2 + 0x00001000), - (0x001543c2 + 0x00001800), - (0x001943c2 + 0x00000000), - (0x001943c2 + 0x00000800), - (0x001943c2 + 0x00001000), - (0x001943c2 + 0x00001800), - (0x001d43c2 + 0x00000000), - (0x001d43c2 + 0x00000800), - (0x001d43c2 + 0x00001000), - (0x001d43c2 + 0x00001800), -}; - static int gmc_v9_0_ecc_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type,