Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4340443ybb; Tue, 14 Apr 2020 05:29:05 -0700 (PDT) X-Google-Smtp-Source: APiQypIA/U2tVAEPAGSB+N2GRlxrOH5O7xZMwOabS2ed6asRhb2Mfvx65AZr/N77L6YIaMuabKnm X-Received: by 2002:a17:906:3ca1:: with SMTP id b1mr14712383ejh.316.1586867344810; Tue, 14 Apr 2020 05:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586867344; cv=none; d=google.com; s=arc-20160816; b=AJeVpLXLPo1H0SOGo3t4mi8Owl1opvqRIuMaYfpeRxeuUoULWUAUAvPiVuSCuRdyTe kN77Tx304knrKmvCcpNXMXSoZ9hNEuNmJ4nMfmzXF+5qE01hv0+Q5S3LFDybrLtJyhFa wDXw1RTltqJRkqB+ihw/7NVPrF4SFH56+BUonmox5OxYoysbtILGt2hDgdW9ik719UCp c0RiaX8aiI5h6es13chxJoQqoa452JQPSwu9iZz1+xgfcmOUDphX4x3wiMLqWwGMMw8V LdHrRVSDcobR8ddSTG4cG9nSVOKlp+f3XbUAUdaIxBL6GmPu2BT00RYbA5tpyVmccWRE BWzA== 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=j3CfK/atk26qs98hjkqzMpk9vav3Hwka53YeyTca24o=; b=mnVLE1i+yxGy6nOAsZf+KSIL4M8E+0DSoywoD8fIHIMx4erJfrAp3CC1nGczO/QQTc AvBcLHXQk6b5cbASHoEccYDW/B2XzsbmImTvmzaUi3ZvFm5R7+OYVbo6wG3LBB7QUCyf 2X7MtwnDkTDVKw3cK5/ubuoNHC7ERTxDALpi2YFmEF4OwVUKZ2e5YyCCm3T4MN5rmL54 GTY9lv6P5MemwoTbkLw7D30xWhMHUdk7+57EyuzLexStFTcS146OIv2Dq8c00BiZAW6+ uHnG2IsCAJQf6XQbUY7I6oJYfK0yeJiGPs+y39bI+TzlIBowQFJDbWsZopXL/FiADBxW Fa1Q== 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 e9si2954258edy.460.2020.04.14.05.28.40; Tue, 14 Apr 2020 05:29:04 -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 S1730322AbgDMOGa (ORCPT + 99 others); Mon, 13 Apr 2020 10:06:30 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:39446 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730285AbgDMOG3 (ORCPT ); Mon, 13 Apr 2020 10:06:29 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DAA1B5009B9C567DB427; Mon, 13 Apr 2020 22:06:25 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Mon, 13 Apr 2020 22:06:17 +0800 From: Jason Yan To: , , , , , , , CC: Jason Yan , Hulk Robot Subject: [PATCH] drm/radeon: remove defined but not used 'dte_data_tahiti_le' Date: Mon, 13 Apr 2020 22:32:45 +0800 Message-ID: <20200413143245.23107-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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 Fix the following gcc warning: drivers/gpu/drm/radeon/si_dpm.c:255:33: warning: ‘dte_data_tahiti_le’ defined but not used [-Wunused-const-variable=] static const struct si_dte_data dte_data_tahiti_le = Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/gpu/drm/radeon/si_dpm.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c index 2cb85dbe728f..a167e1c36d24 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -252,24 +252,6 @@ static const struct si_dte_data dte_data_tahiti = false }; -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 -}; - static const struct si_dte_data dte_data_tahiti_pro = { { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, -- 2.21.1