Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4380579ybb; Tue, 14 Apr 2020 06:15:27 -0700 (PDT) X-Google-Smtp-Source: APiQypInAVdrMwD7YfFE8HhHfS5oFsYW4VEAMHzHd8Sp0bEHc6kw5pg/x0b19XxdeSiZAXI8x51H X-Received: by 2002:aa7:d683:: with SMTP id d3mr19454674edr.268.1586870126984; Tue, 14 Apr 2020 06:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586870126; cv=none; d=google.com; s=arc-20160816; b=c8F9xk27481cE5DjYGxEgcj6wMrlROmom6kpSA+SrWZmFjT2L/Cxvobt2g0H+baI9A 8I//MFZmjqiDOXlW0FUd5B9jaX45lnGwcHFErUvaKVzQS6jIFcqKPz6jOr4eP5Y/vGLD PFOhQwWy9cBgL79gXp1DsGLTSiQB7gFBzw/6WnZYyBm6zYYinyA31CtN4R+Jk4jNeU34 cwnTn9jfZXn+02CiYPjqzL2HMymN9WMtYkGXXYwDFtbTKjOHwkYlWEcBSuTF8TCKkONA FgC9CQKoX+fOOyCEo/XflLo/Y/nRE0GhIPPedz9ieBeuCXDJ/AITzxM7zBJHlAJYlpLw PYGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZOE2P5jEH093/SFJkXAgVgRQaZk9Rt+ir8LjiFeoQis=; b=0Y0DVmz2k1RIQPuDKohes9kDiFh4guh4y4SqXwbXyaYv3ZaN5rzxtxVTN8CSRY4Tle tpiD9iYJJi71oRMscAcvtK84qj8ZJQqTraMdycLeBFDmYrjqvw7Sjtwd5gkG7gVp/rp1 /ewXrIcin8TGfA4nqFZrY9LdGy4SkoCIm84XfDMBoc27Y5OeoPTjfuT82CEfy/2a7C7J GlMepeS1yHeH1C/E+F1lIM5zWjG17z7fGUf8i9S1u6ziSyFXR+fYnQClhC+BTrTuNyBB /s3Dc6etv+Hc+WDrImkliGifCGX7lrnTd3d8TRWf5Ca/E4kuD1vbcbCxbT1BmMq5Ueda COPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aff51BbT; 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 t9si8980575ejr.422.2020.04.14.06.15.02; Tue, 14 Apr 2020 06:15:26 -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=aff51BbT; 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 S1729813AbgDMPPz (ORCPT + 99 others); Mon, 13 Apr 2020 11:15:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729618AbgDMPPy (ORCPT ); Mon, 13 Apr 2020 11:15:54 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3856DC0A3BDC for ; Mon, 13 Apr 2020 08:15:53 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id x4so9650590wmj.1 for ; Mon, 13 Apr 2020 08:15:53 -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; bh=ZOE2P5jEH093/SFJkXAgVgRQaZk9Rt+ir8LjiFeoQis=; b=aff51BbTFzKsXCpL5YhrA7DxEgyrrRCPmWwZUOL3KHYaxbOFqz2qgeZWsZxz0soAsP UWdXdUwjE6+rqWK6X8x3JrDIYZfySNLGRtMr/hGTw4BxYQRgRoQqIkjhy2Ui+DsPeJU/ 3w0XtJekYhySKH5t6TkwnBpWYKOJ4cQhY4Kihj0k5hGnmRfZBPSGH8M9wCx1VD/i5Kaa 8oVeKu6Q9+fxZPQRI6RJcb/7+6nXXHMalCRkZ8eBwVXKpH9stjFi02JGZ+ai3Avkzitp nTZry48J4GQGvTh6EATNQOiLsE7Poc6LQl+TgMJ7Dw+MxALVuie46Z3gUHxr/1ERsuBg /NdA== 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; bh=ZOE2P5jEH093/SFJkXAgVgRQaZk9Rt+ir8LjiFeoQis=; b=TcFxRpEOKMn9o/BAOpCmKf3gxS8vhSbH7KyNaVV/YLJDvF9+1LokCZFcnGkewk9gZu W4Kta66X7diH/+d0zyrTQ1nArLTzd+s4ndHNfy4yy0VZuyF/HsaUfVivyC5hTjVkJR+5 yunNgLlGr0aeXseeFAia+idliv0be/eTwv3dSFll2cZ8yNE1pea1iop6DT/uIb1/zkoN Y9oeuIHGIRXU/rJyOBxm80/t4EhJzxzXMcC+FBqAuamo0omUMfZykTj2kNTHenuCXxGE YLQ4l9UevWW1LMCS9cFmrd/M7QOJE3RBRZ9tgM5mt5kA79vnbRO7leJSkgfUlmI4zx4l xRGw== X-Gm-Message-State: AGi0PuYT3fmcyffU0/CWmeoRKv6wxbKTZtRXx7IyQX5yGraa0pMYG5Fy OYLjOlJ0do9qRxIH9JHIIABm3pAqJphAcZReM70= X-Received: by 2002:a7b:cc0e:: with SMTP id f14mr2795738wmh.39.1586790951873; Mon, 13 Apr 2020 08:15:51 -0700 (PDT) MIME-Version: 1.0 References: <20200413143235.22945-1-yanaijie@huawei.com> In-Reply-To: <20200413143235.22945-1-yanaijie@huawei.com> From: Alex Deucher Date: Mon, 13 Apr 2020 11:15:40 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: remove dead code in si_dpm.c To: Jason Yan Cc: "Deucher, Alexander" , Christian Koenig , Chunming Zhou , Dave Airlie , Daniel Vetter , Sam Ravnborg , Yassine Oudjana , amd-gfx list , Maling list - DRI developers , LKML , Hulk Robot Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Mon, Apr 13, 2020 at 10:06 AM Jason Yan wrote: > > 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 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx