Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1939828rwr; Sat, 6 May 2023 01:37:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74gvX1QGrBjGrX8pL4HhnsEdNx8DSputo7xLqjnufltI7fED9pXke6sEyCjitoxrX4/47S X-Received: by 2002:a17:90a:3e4a:b0:24e:534f:7b70 with SMTP id t10-20020a17090a3e4a00b0024e534f7b70mr3646333pjm.48.1683362267028; Sat, 06 May 2023 01:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683362267; cv=none; d=google.com; s=arc-20160816; b=c/7QTe0PHeyr3xfHqtMjOZglTE8UoKDB9w6J4YO1ut4gCZJYYwZmMUxiZ3xQrhgE+u 9F5hDlgE0kJ0ZVMMO45rSEq7CMjbMUwkDNevJK5dyKpeWFa/YMooPs2hb0VLJ64jHhys ja7swhHOFpUCygWq/iVWt72GPB93AXUikXG++REQBDGwZTzr7+Owqwu4abcJ5h8cxI/2 ye8B1ttyHkvr772ATmUMu43kdhvvCkquV2vN7N1m/ut92hw331Jd9CAxEU3VoODuDRHJ BdqQvO418KV6pWsDkOCsTTk7h8ka+cYYsdNXY37R7VD+tsHKGgvKVxmx8V32rfHvXndO 3QEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=TZyQlj9j46iAUkEcFYS5R0PsAQbHvwWyUJgkREcXCRM=; b=g+t21P4wz+Z6m8iY4vf3uYrySVDk7mwO5mS90ph9As1KairaPf6SA1I0pqKCvi80IJ TPWAUIWKkgKTXCQ2/Gq26t/CiDW40HlaTMrsOe8qiPOuz1hBOQd9u0QyafPFACeye9UK OqcTuNLvojep5kmm/sMePPc5tL+oVy+o7JSoXqUV/Y2yrriiRAOssNn31DGbKmZ8RLtl uvIJ3jMHPqYEW67GOQXXmESmpl6P5bGp4FlWUjsj7nP/Ruxqftb70Xk6U/+uNJSknlPQ Whqu91e8YPo+DkwNzmaRMXAL3WwUO+JLT6iF0yuAwtfC3OY5dFkXeZZMwcGdxwuEyKhB PqAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a17090ab30400b002471f613111si8245665pjr.62.2023.05.06.01.37.32; Sat, 06 May 2023 01:37:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbjEFIK4 (ORCPT + 99 others); Sat, 6 May 2023 04:10:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbjEFIKy (ORCPT ); Sat, 6 May 2023 04:10:54 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F27E7D87; Sat, 6 May 2023 01:10:53 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0Vhsn6o0_1683360647; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vhsn6o0_1683360647) by smtp.aliyun-inc.com; Sat, 06 May 2023 16:10:49 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, sumit.semwal@linaro.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/amdgpu: Remove the unused variable golden_settings_gc_9_4_3 Date: Sat, 6 May 2023 16:10:43 +0800 Message-Id: <20230506081043.73456-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Variable golden_settings_gc_9_4_3 is not effectively used, so delete it. drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:48:38: warning: ‘golden_settings_gc_9_4_3’ defined but not used. Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4877 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c index 312491455382..74be46d382f4 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c @@ -45,10 +45,6 @@ MODULE_FIRMWARE("amdgpu/gc_9_4_3_rlc.bin"); #define GFX9_MEC_HPD_SIZE 4096 #define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L -static const struct soc15_reg_golden golden_settings_gc_9_4_3[] = { - -}; - static void gfx_v9_4_3_set_ring_funcs(struct amdgpu_device *adev); static void gfx_v9_4_3_set_irq_funcs(struct amdgpu_device *adev); static void gfx_v9_4_3_set_gds_init(struct amdgpu_device *adev); -- 2.20.1.7.g153144c