Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4380955ybb; Tue, 14 Apr 2020 06:15:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJuGygSujnDDf5EHH27fDoxmyajaEf9rdy+kiD26X1NsB7tKvQgEyoc8IGW5H/FvyxYU+q/ X-Received: by 2002:a50:fa88:: with SMTP id w8mr19221863edr.183.1586870149292; Tue, 14 Apr 2020 06:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586870149; cv=none; d=google.com; s=arc-20160816; b=l5imPP9Fw0kn6BlTVMwVwXfRnUR/WgT/xBmIAF2CfrrUhTFkYXmet+PnD4tfLWuidq CJ1etLDe0nrh24fesFSG12aLDLwjvxYeq6eJepoa52wm9D5rdvvqqT+Tcrqx6jg90PYv 6hh0Z/6WuVNYPeK2QFcsMRN0jiCl1TaQHD3Hq5AU8oTRbOJDThGbbKUKOGLCcDrZrwx5 OG9QzwNWvpxxvfpA5uxSN4ptZp7eo3fLucIJGrIyUUKb137BBtKlnvQ2ZD/DTT7X+NVo 5krYnTYkILfizRfLuhqzOU5Odnwnawa6dPgzjDkwaKmlMF6wSGOj7Bpf72DCRrFyNitp UiyA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=r6UiEvbE1rjGxqv1o7W1IMkMCeQe6MTQHsxVolkgrEM=; b=IoC5RnW9mbx7WEAJF8h6jha8B7uHLoZohM+X/y2cL6t58Yn7LvXxCj9MiEdo9Vr7df 49lxtRZiOaIlQueHMPth1aYLNWcJA0zNrzziJ3BFn4XgUYaw74OTh34AMo9OGbYLu0I5 r/EddQZdgbZ0oP8ywWONUzgtRzHQwJb0LVdfZ0skFHRjHuI5kJcPAe0/NPxul3tMzBJU S8IFlcJ7dlnDRFVIfGjxqXFI5f9yjfkvYBcFyF5EOO1t1Q4Zl2Qarqq1GL2CpHUS7Mxc b/3iWeDiojquXMQRQFeTK6mxyui/YmmFNQ1bxCIfjN9wH7UoiUmroiUASiHafB88WAK5 0URQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IXyX5Dqv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si2810248edj.90.2020.04.14.06.15.25; Tue, 14 Apr 2020 06:15:49 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IXyX5Dqv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730959AbgDMPQs (ORCPT + 99 others); Mon, 13 Apr 2020 11:16:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729618AbgDMPQr (ORCPT ); Mon, 13 Apr 2020 11:16:47 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3CBFC0A3BDC for ; Mon, 13 Apr 2020 08:16:46 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id v8so10310621wma.0 for ; Mon, 13 Apr 2020 08:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r6UiEvbE1rjGxqv1o7W1IMkMCeQe6MTQHsxVolkgrEM=; b=IXyX5DqvbxY264CH/F3eNmCS/hdCeedFlfXvTbxd/Lc6eXN6Tqrswd0c/tdAPy1syl 0UnwbezT1Uj5x0yqKoH/yms6XPU7YoCB5yw9pIms1/tVWSHyib9tx0UCNQ1ElPjOwXyJ dm/kMjzoBQvVd4kp2hxcJujkcgf5WVvHy+eI8etV3wfT2c3uKX7ma7cMbMoMr/uRpjmg apugD+5A/RMOUNdK4SbluQZIB4kewFWwdopstVUwJGg3y6r2JYhsPavopRClZsj7+e3j kUh3kg4LF9OEPlTt/lonVX9PeYmNHqzJ/JwWyh/+Cfy/JpHBWVwds3JE1emP6/bhvJCK DKZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=r6UiEvbE1rjGxqv1o7W1IMkMCeQe6MTQHsxVolkgrEM=; b=b+xYqjHlYMtPL5zxn8lvmy5Nsyoquzwze5b5mtDbrYFuhz02OMWycsKl8txnKMg2RB GVh6cpdChs/M9RQJuYPxWTa2+yW+SHPhqm5/Bue45erEaFzekrhffDczBTsxw96QAe2Q IZLfMlw6b5iDQtmhjioP/0rnf5EteUquKvF5t5OWSK8+mcXm3uqGdM3yINtY+EeQ12gW 7uSS2oUXHrWak9/N0BZCbVl6NfQh5FySwLyRQcC02E5o/vEr03RXSERYrvdLiArEu6d/ 3iK8eqplFZbUxXNx+JqpiXEB/vjfV4gWVN6phh1nQs1s6aWR5+mULt7S+ldiHxBYePsd 9FZg== X-Gm-Message-State: AGi0Puak8ItnIlSPFLBfnniBi9TG33tDlU3zH5RPqKGRDkmhYAVcV3G9 KRLDTzkwHFaXeBQRHXVdcSd9ODLg+Gnzbjp1QUA= X-Received: by 2002:a7b:cc8e:: with SMTP id p14mr18695083wma.70.1586791005382; Mon, 13 Apr 2020 08:16:45 -0700 (PDT) MIME-Version: 1.0 References: <20200413143245.23107-1-yanaijie@huawei.com> In-Reply-To: <20200413143245.23107-1-yanaijie@huawei.com> From: Alex Deucher Date: Mon, 13 Apr 2020 11:16:33 -0400 Message-ID: Subject: Re: [PATCH] drm/radeon: remove defined but not used 'dte_data_tahiti_le' To: Jason Yan Cc: "Deucher, Alexander" , Christian Koenig , Chunming Zhou , Dave Airlie , Daniel Vetter , amd-gfx list , Maling list - DRI developers , LKML , Hulk Robot Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. thanks! Alex On Mon, Apr 13, 2020 at 10:06 AM Jason Yan wrote: > > Fix the following gcc warning: > > drivers/gpu/drm/radeon/si_dpm.c:255:33: warning: =E2=80=98dte_data_tahiti= _le=E2=80=99 > defined but not used [-Wunused-const-variable=3D] > static const struct si_dte_data dte_data_tahiti_le =3D > > 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 =3D > false > }; > > -static const struct si_dte_data dte_data_tahiti_le =3D > -{ > - { 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, 0xB= 0, 0xB4, 0xB8, 0xBC, 0xC0, 0xC4 }, > - { 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x393870= 0, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938= 700, 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 =3D > { > { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 }, > -- > 2.21.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx