Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1549403iob; Fri, 29 Apr 2022 07:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziyDtImMBD3j/53WaFk9T/R/1xmQH607BF1Qhono0YhCDDRMaTmQWZWM9VsqduSlXW34jh X-Received: by 2002:a63:151e:0:b0:39d:7613:9183 with SMTP id v30-20020a63151e000000b0039d76139183mr32407774pgl.52.1651243382246; Fri, 29 Apr 2022 07:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651243382; cv=none; d=google.com; s=arc-20160816; b=e7YlqbZnSSiUlAM7Ld5qXrn/uXI4Tt30c394q81XT8khC+7LFdDNF+2UXMGRhJZNrF 5t4IafzLvE69s13Zfq+bEVkGx4sRrfkoRtntfqplK2mzqw7IVCMaAf/LZv2etS6i02PA 2PD1A9ITlGkbWhWV1imfLIVzUBAB8/5f2uPlkjU56XNXEXRaqziXVLEu/zazd0alaptb ouc6PLe+o+3KjIgWJ3ogmYILx1rYHTJj6wZMHO5jIW+ibYWAZgoQLgvRxckXZUlkUUVu KoG8HheDOdXoRLScH3kk96HkMQ4aHvTdSbWn+NRAI2jCLE4FGWGL7IKGfMTp32nDXR6h ifwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=V5BZ8ns0Zfo4kfaZW67Y51fdT7tPHwKAwADp46YasA0=; b=Yh2G1T30JPakEZc5SCFY6BLZaDUHCFnUhmaExXOh8kNP4Q/NwIe2mMBb8WyKy80kAV LafyaCAopUzY3xVoUqbz/x9ywc3uy92Frjov57/B7ZBuCKMMYUG5xrGmuXd8OpYtZda0 VOtkDj+TbmROVhZj/76ax0sM/MQtjc0Wq/KnsPT96iwt/IAU2IywyD21PFfqJWfh7Zm8 e7sHV3Wcmj/PyeTEH/PZCunark80/Z66V+DObG0VqS35cchWB/GMNdGvfL531AWvAHTo oSE5t9Aes1zf43/iShGVohSscUqksBMYQvAWVReNoEyYuVNsEHd/OifzRMzmY7ufRKn3 x7TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lg0llTUi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d17-20020a170903231100b0015874dc3247si8325570plh.170.2022.04.29.07.42.50; Fri, 29 Apr 2022 07:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lg0llTUi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236815AbiD2GJJ (ORCPT + 68 others); Fri, 29 Apr 2022 02:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354396AbiD2GJD (ORCPT ); Fri, 29 Apr 2022 02:09:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1226C286C7; Thu, 28 Apr 2022 23:05:46 -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 ams.source.kernel.org (Postfix) with ESMTPS id C03C3B832EF; Fri, 29 Apr 2022 06:05:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35074C385A4; Fri, 29 Apr 2022 06:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651212343; bh=6NFSMXO5E6qeOEGGAd6wS7D3yMyfVIo1QyU5W2JK9xU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Lg0llTUi/tf4vqzwPiZYXdsWE6KB+oibgGY4T58queRBYMAAldPrnYwlFgOk4J1ER br1omhpiYvuLRs9dL+zDjJ4XPcytForau1azB3OvjGu8w6A/WBTBBeWKZ8YQO62fQ/ Xhyj6nw2gquhBOCXkUZOUW2NmVpVwv3bStAYXK03phMQnHbpTlHGKGR1Rw+Zgkeh9O WEs5cNGl00BgaaYVbVqTkax7mPOnOaG3r89qn/MlS9eySHqS+HnJiBGvVKvlZ+Tm9R 5rFMcADsp53dMeB5LKCRQkhdOgQkKOaF8/lPU2oqYkHbbk/QgVTiT2yeKagrb+7xcM g9tAxedlBwf/A== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ath9k: hif_usb: simplify if-if to if-else From: Kalle Valo In-Reply-To: <20220424094441.104937-1-wanjiabing@vivo.com> References: <20220424094441.104937-1-wanjiabing@vivo.com> To: Wan Jiabing Cc: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , "David S. Miller" , Jakub Kicinski , Paolo Abeni , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kael_w@yeah.net, Wan Jiabing User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <165121233679.2322.16112763867236758166.kvalo@kernel.org> Date: Fri, 29 Apr 2022 06:05:41 +0000 (UTC) X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 wrote: > Use if and else instead of if(A) and if (!A). > > Signed-off-by: Wan Jiabing > Acked-by: Toke Høiland-Jørgensen > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 2950833f10cf ath9k: hif_usb: simplify if-if to if-else -- https://patchwork.kernel.org/project/linux-wireless/patch/20220424094441.104937-1-wanjiabing@vivo.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches