Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1031952rdg; Fri, 11 Aug 2023 07:43:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEd2xvvJYwUTsnt84kuAYNKMM150PIx7OUfUcSX5sf49tGDMqlGiOvqTozepwtYyaDeOf1j X-Received: by 2002:a05:6512:3c87:b0:4fb:cb10:64d0 with SMTP id h7-20020a0565123c8700b004fbcb1064d0mr2053011lfv.29.1691765019663; Fri, 11 Aug 2023 07:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691765019; cv=none; d=google.com; s=arc-20160816; b=OGUsLr8koAmzt+ayocF3knLCV76Zj943XO5zy0gSAn43gHeYyAbwG3u6Xdipv7HHOw GRApZIC4RGqYNKfObnAVKTEAdGGJj6ahPeT9yq9LpfWvJLAMsuL959HWtMiZjIvaZGpY YMLrZf0mQ6nZgbJ65HzsZLxRypswKuWI5ChYJdze0qJvsp7bEJN+gYcD5q/oqBCk3KYd qDFE4wFamnZM/r4uN7+UnpuzQN/E+agCEx9mJ2kf2xgrjMktSKiFv2xsGP1gfRF+Q23d 8mfpsXTW5LqlU45GUzQDhe6JLk+9gQgjpCF6mJF94SEGc+7oYNh7NfEZ+6+rliorrLx/ ZrlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kTrAesynkOq2vMzYXBezvugm+/mxLujlFwSFb/okd6o=; fh=OSPSHTYYnzVfqvf4kzImIXLfmJ67gn2D1GakXzGTxdc=; b=mfI+4L/8swXjEf7zp7+cSTYNfTOAPANWjLfcJXU4MXAv68P3z6OF1TV39PWL5IuJyh oz983gPXeK77mxjmbNSGwz/D6gadHj9K/rXfp+7x4v6Q9pFH6XXVxVROqEIYNNy9qTAJ Z2v2+OXpPwiMgGDUDJBLFllfs5ADkgFffUZKJKjaKHiGOI30k1rSSfO7OFDc+hEgQ6Ox nblv11VkBsoChX6b+eWCmeGxVprFqnFHmS10blJN0rB6cQKf2K6/7ze4BJjVhIEBI8ni k66FsH9dhA7ZW1krkoCaUsX8u1CKA2jNuCcKUq7BkQ10B/EuhYtWBkXsEsialoUOMfng +bgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PswOdkv2; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020a50ee14000000b00522467311e0si3293166eds.634.2023.08.11.07.43.14; Fri, 11 Aug 2023 07:43:39 -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=@infradead.org header.s=casper.20170209 header.b=PswOdkv2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232590AbjHKNYX (ORCPT + 99 others); Fri, 11 Aug 2023 09:24:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbjHKNYW (ORCPT ); Fri, 11 Aug 2023 09:24:22 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1528125 for ; Fri, 11 Aug 2023 06:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=kTrAesynkOq2vMzYXBezvugm+/mxLujlFwSFb/okd6o=; b=PswOdkv2cAUlc1tWppH6N/0FNZ TMm5SoQfX0lhpECgFZO2CZ1kB8lYvAUwFitlZVZG9mAUUN5ACttVuWHwYLINC8UVu36VbIRBFKWPl N6ZXY0eEo7GiRgEz5UZ5rHXQcQYzphat+8HNhXYJVkHej3cU3xj24419eDw1dE41XzUv7XTdOBlhg bjvuQl9gq4NX+4fz91DYUzYPB6OCh0dCBToYF4ftx8oGIWAiKYmEV/M6EzrJyJnxMkSn4twSq1ZXg qwpu5o5M7NarR1oq/vWYCmnh28Br1vZCPsgSJn3RJuBeDfI4d3AiOTc7naCWYGrpEXy4AQ1QmBX81 VgnQF/sg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qUS7J-001OnE-N6; Fri, 11 Aug 2023 13:23:49 +0000 Date: Fri, 11 Aug 2023 14:23:49 +0100 From: Matthew Wilcox To: Arnd Bergmann Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Tom Rix , Andrew Morton , Peng Zhang , Rong Tao , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] radix tree: remove unused variable Message-ID: References: <20230811131023.2226509-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230811131023.2226509-1-arnd@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED 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 On Fri, Aug 11, 2023 at 03:10:13PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > Recent versions of clang warn about an unused variable, though older > versions saw the 'slot++' as a use and did not warn: > > radix-tree.c:1136:50: error: parameter 'slot' set but not used [-Werror,-Wunused-but-set-parameter] > > It's clearly not needed any more, so just remove it. > > Fixes: 3a08cd52c37c7 ("radix tree: Remove multiorder support") Thanks!