Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2738631rdb; Tue, 12 Sep 2023 10:29:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFOU5OHx6mvwPeire7JHQ27tKc7m0XrdueDhKmeHFNjK5HOHe20bgifFDg7WE6UwF5s5C22 X-Received: by 2002:a17:902:d504:b0:1c3:e3b1:98df with SMTP id b4-20020a170902d50400b001c3e3b198dfmr455521plg.52.1694539797137; Tue, 12 Sep 2023 10:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694539797; cv=none; d=google.com; s=arc-20160816; b=WadcY4tOgKW2yIKCwfxDHYCAUITa0jxg/L39QfJeSI/ZpBMgUybhFplGtiEMpGwf7H NrsXUVG0rPcjZ3wpU/KiLItK1p2ol/oijbs03yHPIImwX67NiYOgw14/PR8lEf1MUhHv VgqJc0xmoX6NV7cCo1I/7bZx4l7w7maOQHzSbZf1OAucsauR6cvlaL6SGshmpdtaY/KQ 3Yqshb+NIpIjVFIUSDPVPq3eyhpxhPFZi7GHe6871AxEAmqx76GDBtriOrILkWT/8lab V85lPadZOyqYNrIlBev19csU0idFfYdc+X1KwPChzpTyIX7L6X7O0/0M7DgWvKv+dYPc UlNA== 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:dkim-signature:date; bh=xAKCqRDHW+lPEAd+hDQsFbTfpENfjf47jiZ8XYV5zrE=; fh=PyExhOQhurakcnc2pbKXiqT8xdLZyRjptx2neqZHHas=; b=zXUacrRi/yhIfvoUkJBr2FGYD2jdLdZFQyADnEWV4tNMpt0jGW/laPfX1z5HW3v9ld /Qf/bSzfOexpQrDp4cC/KmUsOTUZ+rWnqPuNTR3K9Wu7Y+TC5Zjq5ooxC2TMXK3TIJ7p 4K+qY9lY1jv+35IrTlNYog2WyZC5GLreAq4QtAW5C+VZy6OnYb3Vkuek8LZtKPtlG14s CyUyC76od8GAyXpdu4+NbAmjvE7Z1PKnpfzEPH2rs9c4iUq8C1/SWhw/bQqL9pMr8jqz EZt3qZ5rPuO3VEKGt16TByMxDYYlZhAUC4+Vzs5idJrFN/Yd26FtwssFpUVeeqA0nuyy bpJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KkZIjbyx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id li11-20020a170903294b00b001ae40e07fb0si8226479plb.216.2023.09.12.10.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:29:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KkZIjbyx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1E2048229F0A; Tue, 12 Sep 2023 09:28:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234460AbjILQ2F (ORCPT + 99 others); Tue, 12 Sep 2023 12:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236753AbjILQ2E (ORCPT ); Tue, 12 Sep 2023 12:28:04 -0400 Received: from out-228.mta0.migadu.com (out-228.mta0.migadu.com [91.218.175.228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B123F1 for ; Tue, 12 Sep 2023 09:28:00 -0700 (PDT) Date: Tue, 12 Sep 2023 12:27:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1694536078; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xAKCqRDHW+lPEAd+hDQsFbTfpENfjf47jiZ8XYV5zrE=; b=KkZIjbyxLo4mrQcQZ+yfNImzrOmyAmeWTxmkeOtqZ6g1y20pydPw8WtEmB941odcOulUf0 RyXYi7uYbc+PyyaQyKpMukySB5KIrS1WkbbqyUos/M0VoV+ps/e1X+8fce90AhFRqHSqsT WYvZk+UostgNdQg1KWcmTHAUFv2TAbs= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Colin Ian King Cc: Brian Foster , linux-bcachefs@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5][next] bcachefs: clean up some redundant assignments Message-ID: <20230912162754.jcavjd7ezhsaeycl@moria.home.lan> References: <20230912123744.3929609-1-colin.i.king@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912123744.3929609-1-colin.i.king@gmail.com> X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 09:28:11 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email On Tue, Sep 12, 2023 at 01:37:39PM +0100, Colin Ian King wrote: > Clean up some redundant assignments and variables based on warnings > found by clang scan build static analysis. > > Colin Ian King (5): > bcachefs: remove redundant initialization of pointer d > bcachefs: remove redundant initialization of pointer dst > bcachefs: remove redundant initializations of variables start_offset > and end_offset > bcachefs: remove duplicated assignment to variable offset_into_extent > bcachefs: remove redundant pointer q > > fs/bcachefs/btree_update_interior.c | 2 +- > fs/bcachefs/buckets.c | 2 +- > fs/bcachefs/disk_groups.c | 3 +-- > fs/bcachefs/fs-io.c | 4 ++-- > fs/bcachefs/io.c | 1 - > fs/bcachefs/quota.c | 3 --- > 6 files changed, 5 insertions(+), 10 deletions(-) Applied - thanks