Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1318397pxb; Thu, 21 Oct 2021 21:21:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygccqM2ngJOVdJQUBX2GDGTc98S4Ai8OE7c5EgXAquPiZPNJKoyBHkDm2oGUI6V8FOA/QX X-Received: by 2002:a05:6402:34d1:: with SMTP id w17mr13740892edc.383.1634876515002; Thu, 21 Oct 2021 21:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634876514; cv=none; d=google.com; s=arc-20160816; b=RYT8u8C6D6JWU889tmJg+uUVvG4HCR4v+qg2WIqVToyQ4hMFLodGQyX6bES5U62hoM NsHGoyiMs8Ei5wV3MIcKNdGvV55NGdyhFuORAMHKSMwkbfrhkH01jtEFGpn1cAMmuscT /CdYJcttfEtastqallXsd2iq3p3tuwR5t6558GBM7qfmFp+beT/7wayBJS1N9QXet9EM K/DaFbpKnF8eGXCoSvyzglZEsu5zLV6dyS7sZMUvpy4JrUt41zexiC8oUwFrrywiLITu a0uy0i4rivIWcpDI7QTxSZ3YBikpXxBiTFTdZ1iKMtsPMOxdbB7vS6m33tyRQFrW4mIv JIvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=DfbC+mNCdFHu4SeY7hqINXBjFXjUubvRGGsvVEk0wZA=; b=tRl0GlLfe0aduFMf0cAhdxgVT4SP+D9sldoJpYK4HvjkrRbeux6+6pQ2Tknejhnl2w s6Lo5ilu5qojP3+utK1ZtK3dLNu47FQzzXgImS9JRtBPUUrlLc6BZEnMSgCm1YHiZ+7D n4oYy06fyz7COY/GzXVy2nGbukjnm6FKrf7RvRGlv3HiBEqLIRoNyFJqZVdRxRg7PbSk LwXqW3sP0msMbRzxwctx0xgKlAegMst3vXEKpZ0+6KrB1lyilHJIgO9GzDbTAzd1TP4/ jo5k1i/fnyr70ts8A21AncMOGvHOJKm4nfVR+zEtsxdf/I3zanzJbEyEgITmEF6lBPzo HkTA== 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 m9si13269902edd.600.2021.10.21.21.21.31; Thu, 21 Oct 2021 21:21:54 -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 S230175AbhJVEVn (ORCPT + 99 others); Fri, 22 Oct 2021 00:21:43 -0400 Received: from mx22.baidu.com ([220.181.50.185]:43178 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229463AbhJVEVm (ORCPT ); Fri, 22 Oct 2021 00:21:42 -0400 Received: from BC-Mail-Ex31.internal.baidu.com (unknown [172.31.51.25]) by Forcepoint Email with ESMTPS id CD9BBDFC8AD8CA59801D; Fri, 22 Oct 2021 12:19:23 +0800 (CST) Received: from BJHW-Mail-Ex16.internal.baidu.com (10.127.64.39) by BC-Mail-Ex31.internal.baidu.com (172.31.51.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Fri, 22 Oct 2021 12:19:23 +0800 Received: from BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) by BJHW-Mail-Ex16.internal.baidu.com (10.127.64.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 22 Oct 2021 12:19:22 +0800 Received: from BJHW-Mail-Ex15.internal.baidu.com ([100.100.100.38]) by BJHW-Mail-Ex15.internal.baidu.com ([100.100.100.38]) with mapi id 15.01.2308.014; Fri, 22 Oct 2021 12:19:22 +0800 From: "Li,Rongqing" To: Michel Lespinasse CC: "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "mingo@kernel.org" Subject: =?gb2312?B?tPC4tDogW1BBVENIXSByYnRyZWU6IFJlbW92ZSB1bm5lZWRlZCBjaGVjayBj?= =?gb2312?B?b25kaXRpb24gaW4gcmJfZmluZF9maXJzdA==?= Thread-Topic: [PATCH] rbtree: Remove unneeded check condition in rb_find_first Thread-Index: AQHXtk67qDCXZ9JKBUOf9Klxd8vGjaveiukw Date: Fri, 22 Oct 2021 04:19:22 +0000 Message-ID: <5a3a7c84bfb94d26a2d6e88e86f6edda@baidu.com> References: <1632986196-20074-1-git-send-email-lirongqing@baidu.com> <20210930225850.GA6434@lespinasse.org> In-Reply-To: <20210930225850.GA6434@lespinasse.org> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.206.4] x-baidu-bdmsfe-datecheck: 1_BJHW-Mail-Ex16_2021-10-22 12:19:23:010 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UGluZw0KDQotTGkNCg0KPiBPbiBUaHUsIFNlcCAzMCwgMjAyMSBhdCAwMzoxNjozNlBNICswODAw LCBMaSBSb25nUWluZyB3cm90ZToNCj4gPiB0aGUgdmFyaWFibGUgYyBpcyBpbnQgdHlwZSwgc28g Y2hhbmdlIHRoZSBmb2xsb3dpbmcgY29uZGl0aW9uDQo+ID4NCj4gPiAJIGlmIChjIDw9IDApIHsN Cj4gPg0KPiA+IAkgfQ0KPiA+IAkgZWxzZSBpZiAoYyA+IDApIHs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