Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4340008ybb; Tue, 14 Apr 2020 05:28:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIemBjsuk2VG+WgVDejyDQrMzQ9rpqLQ9M+EN+SDbLTqjeuUT0xHWMkD1DiYfBlkEL8e4jW X-Received: by 2002:aa7:cf83:: with SMTP id z3mr5968230edx.65.1586867313515; Tue, 14 Apr 2020 05:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586867313; cv=none; d=google.com; s=arc-20160816; b=gQnnRIC3YzT7zaBVycdV0PfuCECJxuBQA9a0aY8N49UuwNNs8uLT1X2KcMC1k26vWb QWEdi9O/fvGHowVBJ3n3jfdz5BD1WW19jNMlr+Ef7/J1JCaB670crVXQ5p8Qp3zATP9B s1v3NmSFOfzR6LS587rFKDbnH3xXxL3Dmi37Ry0erLUMouUirGXepEx8B/DXfuSVpoNE vD09qfEyWQ2vsHRiu8DJowi6uh52TdckmIfR/skV6x7xt56d//0v5a61+GAkBx8KGnN7 y913Y9zWvO4SjQ/u1698LbnxqfXWjl71/JdGgNdKQfRCEBx53Pkn7dMKn2ojbxd+DuR4 Fhog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SbFLkXDyqmNT5maOylYJJ2+HIMN5UZ71YekZSXMs7eA=; b=gc2wXwOlAdiH3Lg+3mWzPbrILt1vhwmJGS/RtGynRhXDaKZRolO0K0zuFUX77wgu6I eaEV8OkYwRdL5NzhdnMhOcYVx8q8VkWlkitT7VpY4mxFbgP3YiAuEuORF5qiA6H4NyuD lvYY7pLgo87PB6+th1cPfU14G/MsmE31ZPMEgGxfvXG10fCRv5w9WBTaIfY8Lk15TlMR Zd0vHv7D8exbuGVkYgfYhz8u4AZirmZDJ7eLVR1mLp3PWmgy091FRSm/F2OrotGd05C5 X+9j6VMcGoTkOWx6MsOidfCPG5HvTSLptYszQo6jCZNJ9FD+/d0s/Gjw7sXKffXH01wY ArLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w29si817319edi.197.2020.04.14.05.28.09; Tue, 14 Apr 2020 05:28:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730313AbgDMOGV (ORCPT + 99 others); Mon, 13 Apr 2020 10:06:21 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2366 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730285AbgDMOGU (ORCPT ); Mon, 13 Apr 2020 10:06:20 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 94F0C48F6690EAB73C69; Mon, 13 Apr 2020 22:06:14 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Mon, 13 Apr 2020 22:06:07 +0800 From: Jason Yan To: , , , , , , , , , , CC: Hulk Robot Subject: [PATCH] drm/amdgpu: remove dead code in si_dpm.c Date: Mon, 13 Apr 2020 22:32:35 +0800 Message-ID: <20200413143235.22945-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This code is dead, let's remove it. Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index 0860e85a2d35..c00ba4b23c9a 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c @@ -345,26 +345,6 @@ static const struct si_dte_data dte_data_tahiti = false }; -#if 0 -static const struct si_dte_data dte_data_tahiti_le = -{ - { 0x1E8480, 0x7A1200, 0x2160EC0, 0x3938700, 0 }, - { 0x7D, 0x7D, 0x4E4, 0xB00, 0 }, - 0x5, - 0xAFC8, - 0x64, - 0x32, - 1, - 0, - 0x10, - { 0x78, 0x7C, 0x82, 0x88, 0x8E, 0x94, 0x9A, 0xA0, 0xA6, 0xAC, 0xB0, 0xB4, 0xB8, 0xBC, 0xC0, 0xC4 }, - { 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700 }, - { 0x2AF8, 0x2AF8, 0x29BB, 0x27F9, 0x2637, 0x2475, 0x22B3, 0x20F1, 0x1F2F, 0x1D6D, 0x1734, 0x1414, 0x10F4, 0xDD4, 0xAB4, 0x794 }, - 85, - true -}; -#endif - static const struct si_dte_data dte_data_tahiti_pro = { { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, -- 2.21.1