Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1654364pxb; Mon, 11 Oct 2021 10:16:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkx1Y32usazDvPrHUD+5Hex7LqWKrYanoxdJj45He872bvcUoc7i5F9//pbAurnHCKI7T5 X-Received: by 2002:aa7:cb41:: with SMTP id w1mr944110edt.327.1633972596021; Mon, 11 Oct 2021 10:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633972596; cv=none; d=google.com; s=arc-20160816; b=myNCTH9PxMRvpOotElo2zkIdKWgIhcSvVVCiK4qr0eUphHlmUFNM+WEbbzJJ52vrcN y4U1I8OsQKm9i4mGddJHEprdFPMQHm0rEMzE5q3FZ/SzUvuy1VVjVIfRNdUOt1HaaXkw ZQefUAtJIfgQ5oQkM6zVbzInUyRscLmV3OJiaMbwjL633O0tAE8z5vbzZHTlhBgmMmi+ 69TE/0eA/pdDO/VqeYzRlH1zTxawuYTlJPRYnob987Ek7CsA0H2dFJBF7pFm3x4YGBYO faMe/SEMkq6IuByV3OplUzPTsOTcfYNbp0unPnRypctcr9YGbEKyNR1Q4YzE1X3QJL73 0Wvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=P4aNo86fMjB1KMvjzw8IEeEhKUvCd9T+22q7Tj97MmM=; b=u/BMt/8Ph8Cx4cYPMgBGabh8tlLSm/NmJcE456I09rB3ll1gmLhjLnDrOo64U0fqgC EZ8YxWQCAVEXaoHshiLglQ7SPNx7PYpWgsMDPMbzodAPAFb15oSRNnaAaxAWUpEiRF93 oM0E7mRf+nCyffmDL30GRGE+TOoI3bFSYrNA2lCcWRZM3Y1mDyDPFxhCpagm5MTVnJyZ O4d3/HK7GagzEdJmpo/ri8LFubW1Px92LherRRUm41BYqUMbIBLFp803rCSlmWcLKQ1i OC6dy6Vat8gCZL8YHmG7xJHAhnJboVH14Gi7kBDHMHzdBpz0UQ/E2ICYjY+o8LTEG9Ed Gd7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FXxAQatK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb8si1647249edb.325.2021.10.11.10.16.09; Mon, 11 Oct 2021 10:16:36 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FXxAQatK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233536AbhJKRNS (ORCPT + 98 others); Mon, 11 Oct 2021 13:13:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232707AbhJKRNR (ORCPT ); Mon, 11 Oct 2021 13:13:17 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D10C061570 for ; Mon, 11 Oct 2021 10:11:17 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id ns7-20020a17090b250700b001a0937b87b7so314242pjb.1 for ; Mon, 11 Oct 2021 10:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:to:cc:references :from:content-language:in-reply-to:content-transfer-encoding; bh=P4aNo86fMjB1KMvjzw8IEeEhKUvCd9T+22q7Tj97MmM=; b=FXxAQatKifnX4nNDqMF8tTVTtWzMm6uothRZr68n8AoezLTxYZ/5F+svzhy30HXVCK Qum4CyMOhuhRJN1NZup6h1Zl33CLQKOlsxVLZiCA2zksiNx9AewymLACIBbqAkrwprwK xzWZP+M8t2ahtS71d3z18TeUVgA+zNDPWoTVsnRcZCkwbFr5nXYThI0Zdu6zAt70qxHA w8kXEIwWlZK7vN5SxieRrhB840chHg4yslW7oU5tccUpR+QKAiuFJ3rHnaVRMMqsGXis 2UW596Zcd4CgDa81Ks2SnSRVUkgBu30KpakrQ/iFnofEJJNk3122i34tRPKzFyiwXL6I SYEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :to:cc:references:from:content-language:in-reply-to :content-transfer-encoding; bh=P4aNo86fMjB1KMvjzw8IEeEhKUvCd9T+22q7Tj97MmM=; b=B9dFj3Kxo7dadi47mZlgeu+dBvXVkSXPaGmAOTJ1UlU4EciqiS2L0s5Qx9/8JI1ECE uS9MfqqE16kA0JSNe44nlrgBTySBsxXF2ICMjl8c9w1dqwUKl7SzbGY4gyRsiOI5aA2P CMrBSIn6I6zTcSDI7n3YK7uVtpg8HwyUFLf7C1fab/h1Ynk2vNfcQM13cbR14OBNy1oq hA4IDndfd49rz6VljjJNshlIjT43PvQ/Hld/C1uWEMsiHqfXSRn3r+z5rfcQ7q3uIeBH UAc4HDwLG5enquqxnbNHKEdruX4cGa+0bEd4yh6Z71escKe+09wACtyc0f6JU4tJ3NLX MDMg== X-Gm-Message-State: AOAM531jd8+hDgmU8bT9ZeqCoDwgUKYdQIerbpXjo6a3aLuQhY8M/HOJ 1zSrxAUiBogoFfRUXxeuWjhUv41IudI= X-Received: by 2002:a17:90b:3b8e:: with SMTP id pc14mr212531pjb.180.1633972277130; Mon, 11 Oct 2021 10:11:17 -0700 (PDT) Received: from [192.168.1.14] ([223.230.99.151]) by smtp.gmail.com with ESMTPSA id g17sm5685745pfu.22.2021.10.11.10.11.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Oct 2021 10:11:16 -0700 (PDT) Message-ID: Date: Mon, 11 Oct 2021 22:41:12 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH] staging: rtl8723bs: hal: remove if condition which is always false To: Dan Carpenter Cc: Fabio Aiuto , saurav.girepunje@hotmail.com, gregkh@linuxfoundation.org, marcocesati@gmail.com, lee.jones@linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <9dca9f7e-f987-5be5-9523-7dd08c2b364e@gmail.com> <20211011104141.GP2083@kadam> From: Saurav Girepunje Content-Language: en-GB In-Reply-To: <20211011104141.GP2083@kadam> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10/21 4:11 pm, Dan Carpenter wrote: > Yep. And please go through the function and clean up all the references > to max_rf_path. Change the "max_rf_path = 0" to 1 and delete the other > assignment. Delete the comments about "max_rf_path == 2". > > regards, > dan carpenter > Yes, Is it good if I send 2 patches one to remove "if condition which is always false" and another one to "clean-up all the references to max_rf_path" on a single patch series. Regards, Saurav