Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4364313ioa; Wed, 27 Apr 2022 02:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNvE81HlwE72Qgx9TJtCvkyPdWCbR3nYbxwAFxwYr0ZcUlP5TsMr0c78a0qnkM/TbU17GW X-Received: by 2002:a17:903:22c4:b0:15d:1ef1:6607 with SMTP id y4-20020a17090322c400b0015d1ef16607mr12794091plg.0.1651050118417; Wed, 27 Apr 2022 02:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651050118; cv=none; d=google.com; s=arc-20160816; b=wSI4tt1Pl3KVzDFpNPh2sMupiFRc/5b5eHHgWYP4R3m/rbjeYYMtNxvKBFrayxwfbJ hKXQCt3y7GTU3YPRuvrydgNp3vdbU0xvD2n69+EBnNqaRgxqmYtsJCOCVrmSIH1FD2TM h0Hze4t4TalKydeS5p3tGPKilDYD6QPB7bMP8nWCW8Sui/r4+NiHuZi7StRErpw1cCWO 54ZqDb1Cxxyyp7GYkfZQUxLDrTmAInjW+77xM+QZOi/pi7nSwt1D4D9T5sGYhWaO3YdE XzVNDQCs92i14uXo/313Dk8RX2KcvpyebWbVQX9QcpZ5KZ1xkaDXcPEwOVIr8YGDpODZ 7Wlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :from; bh=8IZuHw4VAQpc/c5fMYUJkTAtA9Skb0wCA70zXBoZJbw=; b=MRmElhvp7W6mvBqRF4b/Ch5/hPniChPpBENEhfETUZF0udlwh1RPTlYwRlTMKEvqbV fq5EFXrDb4z2VLqWQzSUbva++n9ut73slTcaWDw7ogbxbW+At/YWBHi6bH3psSlPCMCl VAWFDgYzpADMMYY34wADynREKJasS/Ql6x7qlzQaQvHgMb7kUP7aQroCaWOxrTt2RZip J+deaI8qW6SOSw94HA4gB/JOKLP/cmPYtqOG4K34lWQahl/CQQRiBrXBZwz7dvoXfuoe OudVt2IhRkghJotCiig2NHGQ7dg/NcBsNh5PeJXORTZyDvgX/iaW78QlKyQnf9Go9saS ML9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=BS81t7rB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id mq13-20020a17090b380d00b001cac1e802d5si1340277pjb.82.2022.04.27.02.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:01:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=BS81t7rB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DCDFC2662; Wed, 27 Apr 2022 01:55:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359293AbiD0INL (ORCPT + 67 others); Wed, 27 Apr 2022 04:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244734AbiD0INK (ORCPT ); Wed, 27 Apr 2022 04:13:10 -0400 Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DEC2237C7; Wed, 27 Apr 2022 01:09:58 -0700 (PDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1651046996; bh=8IZuHw4VAQpc/c5fMYUJkTAtA9Skb0wCA70zXBoZJbw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BS81t7rBba7fCg16X7a51opdR1lsHAkf7hUUhYyD3R/Jlc1R+j6Foq3r9IXkSSoMd omMpa7b2/HEraedpY7QHRmIfyiMfBh6DfT/U85mj2PzqdYXYACBNKyC9kM6y6hIcqb sch64TPDLRgoWPJGI9BBDQoM2DzY5er1IZtlEvbp3IoKOO9FDirPJbQGLFZNWtmQxF aAF4zV0d2UpBNpzznyip3DBopjIjXtKCjmzcio3rG9t0rYRhy5Qy00CBZSA+TGgE+C a1toMfCakwBblzLBXtr9LWQA/Qzf/1B1dvba+tesey/Vx+ONnXm815pg8RjB3GdSiT jP4wlWD+qIkKw== To: Wan Jiabing , Kalle Valo , "David S. Miller" , Jakub Kicinski , Paolo Abeni , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: Re: [PATCH] ath9k: hif_usb: simplify if-if to if-else In-Reply-To: <20220424094441.104937-1-wanjiabing@vivo.com> References: <20220424094441.104937-1-wanjiabing@vivo.com> Date: Wed, 27 Apr 2022 10:09:56 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <871qxjhrqj.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wan Jiabing writes: > Use if and else instead of if(A) and if (!A). > > Signed-off-by: Wan Jiabing Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen