Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1770431rwd; Fri, 9 Jun 2023 01:44:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ETCGGQmljOXPjWwUYdBw9WPPWTOu/SnsjfD6oghOA26S5fygFJlXdd8DpauVFABLNxhbn X-Received: by 2002:a05:6830:1213:b0:6ad:e8ad:bb1e with SMTP id r19-20020a056830121300b006ade8adbb1emr818941otp.21.1686300255912; Fri, 09 Jun 2023 01:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686300255; cv=none; d=google.com; s=arc-20160816; b=Jf25oHs/RUgHZ1IeD1nqYBOr7fQvTXJk4FW9RB1s5UK0al51mtFZyKPP3o4QLGZm40 txOZafKsdMDTyYTGioqdHiBtLtqNs/9A0kedcw4FwDplF/yQ/9AZJUIxmAIjVj94oTTJ ENaegSzOzvHjlTo0oy+uggxmXdujI1ds/Tbk3SqsbA2fqeUAuWfkptpmw59T3aIfXAwv 5qAbTUJ6ubWdyKM82hj4rZo8ahXbkOeJws375HkcfKugLNM1zjZ6KcFuPF2Q/BNvFf6c K/gPG4pLU6PdGGQDaKw5QNw0acNqjrfh0GjwZ6YC036spKxddkxPf7UV1C3fN/UclsHx CcDg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XMWL5/1O7OTXUlYqUucZP22J5M4XboZeJ6EiSyloPCY=; b=H5CFpnOK7PEHlUbXHcp/Pc/XW5SAaAl9JG9YwzHYiQFneVvLnWimfqphLrbwzhmVzL 1qfKhNRSJkWmxZlGMCqlWFz/AlahDZdGXp0yDDhZT0huuPAVqv23OSyIi4mSwDOJXkqs BFBzBvwDEDTnKm3/6tZ5Bvguy7WYZmpiaWHB8dnBw0e6w5ft1ql9NoFewvTkUdZPESaR +9fh/JcGfwHupFlACZO+KMWZw036RSSxTWB8oCMp2fNFoT9YvQHx9dZ9Vywd6HphC2wA bfI6BO9FSu9wCOEUKdaB7lRqEjh4weXcrOtNMCitmIwF+yPlBBMJSCEXsMUEtvGyWZvC M04A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i3JodRsU; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020aa79a11000000b0065296ab4747si2151496pfj.193.2023.06.09.01.44.02; Fri, 09 Jun 2023 01:44:15 -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=@kernel.org header.s=k20201202 header.b=i3JodRsU; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240699AbjFIIV0 (ORCPT + 99 others); Fri, 9 Jun 2023 04:21:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240531AbjFIIUz (ORCPT ); Fri, 9 Jun 2023 04:20:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF14C3AB9 for ; Fri, 9 Jun 2023 01:19:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 280166548C for ; Fri, 9 Jun 2023 08:18:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D9A7C4339B; Fri, 9 Jun 2023 08:18:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686298696; bh=TijhtyoEX4D+F9xkLJP3YGpnZpV1yWqYmDFTTWa50Mk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i3JodRsUamdhqx2rZhspuTnVPwg/Ktj747cJc3r+eRxWExI/T+qUWdgmF3GLIH+J/ F2EApzsGg2+KwyDESlNx2S1zXnIOllsvFW7JSqd88YYfJnk9ohhJnBST0SznWpOYUC nBklaPn53OW62dxBEEvFG9WfHvxijHy1vYnJV3SbLFAiy6M+6GLqvQ8RFxz5nZBr88 6FMcfjO/hsiWv8tZEeIhs+ByhEseucG6OirNuwTAyuLjvIH8v28RZyYIGde+0Mc6lw i41O2BD0DLapd4Lsh0je+U04YlXWCIGlcjuY2bADFhuP3OXDHsXUif/Z5liaSKZVE0 86+2leTVIdi8g== From: Lee Jones To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, Ben Skeggs , Karol Herbst , Lyude Paul , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org Subject: [RESEND 13/15] =?UTF-8?q?drm/nouveau/nvkm/engine/gr/tu102:=20Comp?= =?UTF-8?q?letely=20remove=20unused=20function=20=E2=80=98tu102=5Fgr=5Floa?= =?UTF-8?q?d=E2=80=99?= Date: Fri, 9 Jun 2023 09:17:16 +0100 Message-ID: <20230609081732.3842341-14-lee@kernel.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog In-Reply-To: <20230609081732.3842341-1-lee@kernel.org> References: <20230609081732.3842341-1-lee@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c:210:1: warning: ‘tu102_gr_load’ defined but not used [-Wunused-function] Cc: Ben Skeggs Cc: Karol Herbst Cc: Lyude Paul Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c index 10a7e59482a6f..a7775aa185415 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c @@ -206,19 +206,6 @@ tu102_gr_av_to_init_veid(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) return gk20a_gr_av_to_init_(blob, 64, 0x00100000, ppack); } -static int -tu102_gr_load(struct gf100_gr *gr, int ver, const struct gf100_gr_fwif *fwif) -{ - int ret; - - ret = gm200_gr_load(gr, ver, fwif); - if (ret) - return ret; - - return gk20a_gr_load_net(gr, "gr/", "sw_veid_bundle_init", ver, tu102_gr_av_to_init_veid, - &gr->bundle_veid); -} - static const struct gf100_gr_fwif tu102_gr_fwif[] = { { 0, gm200_gr_load, &tu102_gr, &gp108_gr_fecs_acr, &gp108_gr_gpccs_acr }, -- 2.41.0.162.gfafddb0af9-goog