Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4473483rwr; Mon, 8 May 2023 08:09:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Bfef9JhZ4dUlKy9ARvhqyy6hI9CNinb8YVMCqhqSmWZ6s+NPMjIxlon5sP75GyJ0msdHP X-Received: by 2002:a05:6a20:8420:b0:f2:1141:9d20 with SMTP id c32-20020a056a20842000b000f211419d20mr13208740pzd.24.1683558587008; Mon, 08 May 2023 08:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683558586; cv=none; d=google.com; s=arc-20160816; b=VhngYDmzzLXZx+Kwg3jA8oeM9AJ/Fa6P/2TetgpT+6atRacf3GLvo1hNc61sR2yR9T yeVi2vugjmxTTwSlYimoW4CKKCadUbEI64V388akEQ6XCzpw7fBXavHMegptUOVM3xFj FtWC/RjboB+mlPN86gX0XeQiPg2aQ0JB+fqnSOVqUDS1rH9CQHtvgZpXtXnAYH9O6/mF KoNbWep4VU8i0aut9WWjES7eB5NDO+xXJP78Ac+gm6qBG0iDw+AWhdHbnION8XiIU3qz oKYl9sQdwZry5hoJ9s1e0qKPrTz0+jx3vgVU0yrXcrQwjb/gsadeI2hbv/2QV0Gkd/2y C+SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=04DgYL9ZmEKaOVbUM4T7mAu34s7OhOg8hMlDmx91xxc=; b=H0HpJPvC23wrNbXNCO+V6ScpFdnw8YvUvC/p9uU+by3KL/ZDN6hHlzjI5LKpT3/bNw SBuKUkFY/F4HrIc3wGasK7s3gLpSUQyOAXWK/rhIyBtcodYFE6ykZTqOzeA8vOP95POd 6exR3H/Ude0Ch8Q4KfmnqA0Rn8F5WfztkqSL8CGHPVJVRxfE8UTgvYWF1VlrBgCU0/+v GCqEQfuSoOWVR7pdZd5zpryvbXxofIRfjmKfI249KTxcA1ffHHLT1lTywfdAHtxzJ73c tDFno4rn9iG4hUEXu20MEQU6qRKuUBZEp6R/4Fd4DOT2lUZLMRYXJzi4aTr/kRHr2vc/ Pl4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kYnsHzNb; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a63934e000000b0051357734521si8438252pgm.604.2023.05.08.08.09.32; Mon, 08 May 2023 08:09:46 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kYnsHzNb; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234271AbjEHOtL (ORCPT + 99 others); Mon, 8 May 2023 10:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234227AbjEHOtD (ORCPT ); Mon, 8 May 2023 10:49:03 -0400 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C2F72A6; Mon, 8 May 2023 07:48:56 -0700 (PDT) Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-1929818d7faso31929077fac.0; Mon, 08 May 2023 07:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683557335; x=1686149335; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=04DgYL9ZmEKaOVbUM4T7mAu34s7OhOg8hMlDmx91xxc=; b=kYnsHzNbR1qG49sGNL1PXh2+Zlj+RgCIFyEXKDff56OhszMSee14AKlklmCWAScd9Q zDRxPh0O5sQhykgRgzyBKJ/34sn8gDAAZnsYK+/6q1mn4TY8bMcQlg/Lvm8LZLy3+R7r sMYljHaVKy3B39wEtUVFYdhIhKfhvOKXG1KpE3xqE5BN38AFGodiMZ3o74hkkv448irY piLnoEnf6l/zg/uEYgnZfp6bC+fF8yLbFMOBpFBzecculsyj2gEMsRanL04l/ySbLldj 7i7atqVlypl5Pqo2sKoptt8NoeRwWUzpXdubYghD+cAWPvVeJAXrOnQ2qiIogfn8wsww 0pVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683557335; x=1686149335; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=04DgYL9ZmEKaOVbUM4T7mAu34s7OhOg8hMlDmx91xxc=; b=UlS/J7pbnIRKkAxSZLwNTYrvrt/UEwlXlkf15xTpKzo6EubUV7RggjQfF4zy9Pe/Uz uTlipVhT9S1CT1RH1VAnA9zPV+sxSjz6cLEeSGIkEsLfdEIh9zijwgLBoehLcmQauBa1 b3/1f4DlBZoh1SuqYiGuLpn8b4cCe/nlZiVMqQR3HyaZym1YqU1AulHxF4WB/20p5nmQ 6hO2EDEUcp5iYpMfO9jDmoKdXpTzmD743so0b4w4bWgX/ogYk3SpoHyxyJVEBktibxA+ 3WdvSWIO6uhuIJ7dP/Mvp4k/QtewtLhXleGbS/TTBIdWW9LSimPGOT6nDztPSu4LsRbH Tf7g== X-Gm-Message-State: AC+VfDz9hiCb2+VRdM/8R1X7wIG4ZUVPVrWQ2/Afg5I/1Ufgy6kocVi4 vCK9Glh1NWDOR3CnYoC/JyxU6hPmfFSIgAUArhs= X-Received: by 2002:aca:df03:0:b0:38c:2c79:37e with SMTP id w3-20020acadf03000000b0038c2c79037emr7844626oig.20.1683557335416; Mon, 08 May 2023 07:48:55 -0700 (PDT) MIME-Version: 1.0 References: <20230506081043.73456-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20230506081043.73456-1-jiapeng.chong@linux.alibaba.com> From: Alex Deucher Date: Mon, 8 May 2023 10:48:43 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: Remove the unused variable golden_settings_gc_9_4_3 To: Jiapeng Chong Cc: alexander.deucher@amd.com, Xinhui.Pan@amd.com, Abaci Robot , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, sumit.semwal@linaro.org, linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, christian.koenig@amd.com, linux-media@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Applied. Thanks! On Sat, May 6, 2023 at 4:11=E2=80=AFAM Jiapeng Chong wrote: > > 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: =E2=80=98golden_s= ettings_gc_9_4_3=E2=80=99 defined but not used. > > Reported-by: Abaci Robot > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D4877 > 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/am= d/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[] =3D { > - > -}; > - > 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 >