Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1668351ybi; Wed, 17 Jul 2019 19:48:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuQZppxCRv/mMLUJGfv6N5JU8GxU8uhVJTpsDUEx5By/6QsDQvrJALelh4vxd/8zWAU1jq X-Received: by 2002:a17:902:324:: with SMTP id 33mr46156120pld.340.1563418096928; Wed, 17 Jul 2019 19:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563418096; cv=none; d=google.com; s=arc-20160816; b=G3ijhDljg8m/TAae0VRTgbLYWteLfCAzXUCPwMAJWElCz7GDmqLkw4cq4iNp6TCmwm 3+xqADZG57mNrGqY6OSrhfT1Wxe2XvBnv2swD0I+u1QUImgROvTDSs3/Ln8AP82fUXKn /iW7nGHHn6hsqdVUgiOFBJtBDVesPurueF2qEIKqeQXqrbtwtii1u1zYyW28igYk7TjT n+i6mo81+wrGIeqcTwqGjdBmgp8FxZXXY9w06mFQfIxtXhxrfZlngEznZdcEpD6iBsxx a8YRnwOVplbyGTZhTeMHN+ov1H858tlBBLJFEr9o5Be3aK9hn9CJysB/f/+IixWljQ0y c4sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :authenticated-by; bh=TQC4AGgB726TJF09NWO4d5Jr1CPMNWAfE46WOb3PAGk=; b=DQFmArxaEbRLGfwgsZU/b33YBtDOGrqjyTr4kgisrkeVIAoadHhoO/pZK7Js+044NV OwBaq6gsoZT/kozLu4a1uiZOnf3MS1QZ8NS99sysZNdpOZs+lHgTBzDKLjqPAZR5Fia2 7vs9ztGdRiHsNzveM5672S4j4yZddeY6Gf+TuDYpCB7YqxgpTfSDvIGW+hfD2wxhaDVY r3P5oB6AjIJTO/LJcMK15HQV9+Tg+WF82IHCYv+S5UEF1jidNuU3DnZBeV0TParFy/35 nXZTpKFxaLaKibRWmpFPPu05ZKkhnY1EoSAA1ITwXHyIL3SMq3HmQ59JzuWo2RfpB9ai fInA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n129si17980931pgn.254.2019.07.17.19.47.59; Wed, 17 Jul 2019 19:48:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732906AbfGRCrj (ORCPT + 99 others); Wed, 17 Jul 2019 22:47:39 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:45094 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727804AbfGRCri (ORCPT ); Wed, 17 Jul 2019 22:47:38 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x6I2jKju025492, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV02.realtek.com.tw[172.21.6.19]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x6I2jKju025492 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 18 Jul 2019 10:45:20 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCASV02.realtek.com.tw ([::1]) with mapi id 14.03.0439.000; Thu, 18 Jul 2019 10:45:19 +0800 From: Pkshih To: "Larry.Finger@lwfinger.net" , "linux-kernel@vger.kernel.org" , "yuehaibing@huawei.com" , "kvalo@codeaurora.org" , "natechancellor@gmail.com" , "hariprasad.kelam@gmail.com" , "netdev@vger.kernel.org" , "davem@davemloft.net" , "linux-wireless@vger.kernel.org" Subject: Re: [PATCH] rtlwifi: btcoex: fix issue possible condition with no effect (if == else) Thread-Topic: [PATCH] rtlwifi: btcoex: fix issue possible condition with no effect (if == else) Thread-Index: AQHVOOY1W6hVhmptY0OYy+EIYozmE6bPLcOA Date: Thu, 18 Jul 2019 02:45:19 +0000 Message-ID: <1563417919.4276.0.camel@realtek.com> References: <20190712191535.GA4215@hari-Inspiron-1545> In-Reply-To: <20190712191535.GA4215@hari-Inspiron-1545> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.114] Content-Type: text/plain; charset="utf-8" Content-ID: <8A9B338587918D4EA57C625C3531B5C5@realtek.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE5LTA3LTEyIGF0IDE5OjE1ICswMDAwLCBIYXJpcHJhc2FkIEtlbGFtIHdyb3Rl Og0KPiBmaXggYmVsb3cgaXNzdWUgcmVwb3J0ZWQgYnkgY29jY2ljaGVjaw0KPiBkcml2ZXJzL25l dC93aXJlbGVzcy9yZWFsdGVrL3J0bHdpZmkvYnRjb2V4aXN0L2hhbGJ0Y291dHNyYy5jOjUxNDox LTM6DQo+IFdBUk5JTkc6IHBvc3NpYmxlIGNvbmRpdGlvbiB3aXRoIG5vIGVmZmVjdCAoaWYgPT0g ZWxzZSkNCj4gDQo+IFNpZ25lZC1vZmYtYnk6IEhhcmlwcmFzYWQgS2VsYW0gPGhhcmlwcmFzYWQu a2VsYW1AZ21haWwuY29tPg0KPiAtLS0NCj4gwqBkcml2ZXJzL25ldC93aXJlbGVzcy9yZWFsdGVr L3J0bHdpZmkv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