From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02645C433EF for ; Wed, 27 Apr 2022 05:04:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357803AbiD0FHW (ORCPT ); Wed, 27 Apr 2022 01:07:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357793AbiD0FHV (ORCPT ); Wed, 27 Apr 2022 01:07:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A345978FD1; Tue, 26 Apr 2022 22:04:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0C17761483; Wed, 27 Apr 2022 05:04:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47E72C385A7; Wed, 27 Apr 2022 05:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651035850; bh=g+J0i0TxiKiWFZjglFxdDZfwM7Abk9bx3U/hpY/vWBk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ChTjxKG5PtobXhy2/DvAV1k3i8eu30YUBQUBGLA1NReK4SnRdsxbvMIziQWlz5f2u m/VotBOM3r/5uwY+MZ2rluzaMyVOKeMdwym/VtJdrIkA73Zl+T/yPhl1Bb5Ut/C2IP VLkFY8DilyauGgQhSLVlHGr8v3/ZqXeMDCo9Aiy3Am0Kr23up8qFq35waUdnNRDNSb ZJ/1V0ulOMhtRhoBN7Vl77xxqvC9QaZQ/0hcwZM8AW5mgx3r350UnGZxXQ4kZSEbqv /OOux+ct8AETiwgfipAFGVLWBxqCCMznko5dGDof9xqTJpkPx9/C5xxs53kXvMYHUc v+5+iF/uhpMeQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] rtlwifi: btcoex: fix if == else warning From: Kalle Valo In-Reply-To: <20220425031725.5808-1-guozhengkui@vivo.com> References: <20220425031725.5808-1-guozhengkui@vivo.com> To: Guo Zhengkui Cc: Ping-Ke Shih , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Guo Zhengkui , linux-wireless@vger.kernel.org (open list:REALTEK WIRELESS DRIVER (rtlwifi family)), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-kernel@vger.kernel.org (open list), zhengkui_guo@outlook.com User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <165103584603.18987.13591716309765600257.kvalo@kernel.org> Date: Wed, 27 Apr 2022 05:04:08 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Guo Zhengkui wrote: > Fix the following coccicheck warning: > > drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c:1604:2-4: > WARNING: possible condition with no effect (if == else). > > Signed-off-by: Guo Zhengkui > Acked-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 8c783024d6ac rtlwifi: btcoex: fix if == else warning -- https://patchwork.kernel.org/project/linux-wireless/patch/20220425031725.5808-1-guozhengkui@vivo.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches