Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp711149ybt; Wed, 24 Jun 2020 09:20:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBArN3O5stfe1Z7UY1yQlCPVF9L2MMv5s4++/Yj4IkKS4mfMEoCVOPKXhC3HTSd72AB57O X-Received: by 2002:a17:907:40f5:: with SMTP id no5mr8350742ejb.149.1593015642838; Wed, 24 Jun 2020 09:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593015642; cv=none; d=google.com; s=arc-20160816; b=yyu8dTYBdwNKENnAhcU06nQ8wX4Y6V1lMcXkORSxG9TPAehD0Mtu7YhD1fGwSwS3eo 2HjE8zdVmR6N5KEuziOsvYiYCwsz/fm4e+Yt8YNGSzYV6mUEHewB9WFLUDxLt487NxxN Syj6yEH2/dt5gZTeoZ2a58xfXv15IJSgTTBGxUjWRfkxLIJKskTidhr+TX7DHgiAOPo+ pYCYJIucOf7ph0r7TGMcALOcwLIDwWXwBXxfyZQI6vDiWvJ9S8fJ3piGN852Uh5p3M4J f6VtMih6li1SDg6VKPB7qYVOGPa539gnFdU/22Wp+l8W7lJmFUILTG1k/WjVSDUb/TeM RlXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=U8uW5I2O4u4KA0LKMGl0tjxDIblTN5MWYgm/25Pb22w=; b=ntrSKDyU2u8VgBXr+r3P33Q3OrW0hH02Y0ImvKduQbcmHod8PHc7IEI0eFyJnmNfAy f9mQbb7VtNsKDrMcEeMmW3NkGOSY+52SPRL44dZmzP+woGNtyUhYKGA8HBM6r62EvUh6 3F0f/emaUn/Tv+fRkWXXx+zPXT9UZDCPmI224k23X+KI1PkYblDTInRzBhkCi/0ZWGFD K4WPVt4Z37FMGKORyVMid+8LGiY/vA2fXwmTaXtJoPlk/8E04pdPdzTHPHZeIGpW12X9 cmVACE5wl/HaPyjY1tIgvZsxuBF6JPmrdhpSepZugfiBIelMqLHqxU3XYR3pfrje4m6a JmQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si13924992ejj.380.2020.06.24.09.20.19; Wed, 24 Jun 2020 09:20:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404895AbgFXQRP (ORCPT + 99 others); Wed, 24 Jun 2020 12:17:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:41260 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404431AbgFXQRP (ORCPT ); Wed, 24 Jun 2020 12:17:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E6779B158; Wed, 24 Jun 2020 16:17:13 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id F1A99DA79B; Wed, 24 Jun 2020 18:16:24 +0200 (CEST) Date: Wed, 24 Jun 2020 18:16:24 +0200 From: David Sterba To: Denis Efremov Cc: Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: tests: remove if duplicate in __check_free_space_extents() Message-ID: <20200624161624.GX27795@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Denis Efremov , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200622201841.14619-1-efremov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200622201841.14619-1-efremov@linux.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 22, 2020 at 11:18:41PM +0300, Denis Efremov wrote: > num_extents is already checked in the next if condition and can > be safely removed. > > Signed-off-by: Denis Efremov Added to misc-next, thanks.