From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31EB4C04A6A for ; Thu, 10 Aug 2023 17:27:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234468AbjHJR1C (ORCPT ); Thu, 10 Aug 2023 13:27:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjHJR1B (ORCPT ); Thu, 10 Aug 2023 13:27:01 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1103211C; Thu, 10 Aug 2023 10:26:59 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8E20E1F45B; Thu, 10 Aug 2023 17:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1691688418; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sTBWbPbXMOVYOXKs1knmD/Ua0aninMPvw3zHQajoZoM=; b=EAJv1GifSX55JIxLJWRtpi1/vGB70r+PtQKBuuHRDZtOVCgY/3Y1TLzbhhvX4yxNfgPOHe UyOPa9cyLLiX53uE/o0shQkLnqTGjqg6FdpH6HoS8qGCbQwoTACc4RdswXGbuxgZDbKZsH /0aHFWHKji81ooFw28y8MdDqX7l4hoU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1691688418; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sTBWbPbXMOVYOXKs1knmD/Ua0aninMPvw3zHQajoZoM=; b=eyCzHc36a4VL1ccd4dA90gNeJ6TnT/f8zB2OtdrWSK7TMmHi1PBlAF0Bxq8KhSm90XI1GO +GoQgZrDHAC1UdBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4824F138E2; Thu, 10 Aug 2023 17:26:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id QLGOEOId1WSGUQAAMHmgww (envelope-from ); Thu, 10 Aug 2023 17:26:58 +0000 Date: Thu, 10 Aug 2023 19:20:33 +0200 From: David Sterba To: Nick Desaulniers Cc: Chris Mason , Josef Bacik , David Sterba , Arnd Bergmann , kernel test robot , Johannes Thumshirn , Qu Wenruo , Anand Jain , Filipe Manana , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Arnd Bergmann , linux@leemhuis.info Subject: Re: [PATCH] btrfs: remove unused pages_processed variable Message-ID: <20230810172033.GK2420@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <20230724121934.1406807-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 03, 2023 at 09:45:27AM -0700, Nick Desaulniers wrote: > On Tue, Jul 25, 2023 at 2:49 PM Nick Desaulniers > wrote: > > > > On Mon, Jul 24, 2023 at 02:19:15PM +0200, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The only user of pages_processed was removed, so it's now a local write-only > > > variable that can be eliminated as well: > > > > > > fs/btrfs/extent_io.c:214:16: error: variable 'pages_processed' set but not used [-Werror,-Wunused-but-set-variable] > > > > > > Fixes: 9480af8687200 ("btrfs: split page locking out of __process_pages_contig") > > > Reported-by: kernel test robot > > > Closes: https://lore.kernel.org/oe-kbuild-all/202307241541.8w52nEnt-lkp@intel.com/ > > > Signed-off-by: Arnd Bergmann > > > > Thanks for the patch! > > Reported-by: kernelci.org bot > > Link: https://lore.kernel.org/llvm/64c00cd4.630a0220.6ad79.0eac@mx.google.com/ > > Reviewed-by: Nick Desaulniers > > Friendly ping the btrfs maintainers to please pick this up. Fix folded to the original patch, thanks.