Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4627815rwb; Tue, 8 Aug 2023 11:09:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwEIWT+j6C1pwToBXTVcnl8cLDV15LGNgVYrKZ2mULPL+mXVrY4FtnBfFbAF7j2gpOQMKj X-Received: by 2002:adf:ea4d:0:b0:316:f3f3:a1db with SMTP id j13-20020adfea4d000000b00316f3f3a1dbmr205594wrn.32.1691518169000; Tue, 08 Aug 2023 11:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691518168; cv=none; d=google.com; s=arc-20160816; b=xBePOjnmM+RMgl5p/gqSl0ZSG49ERiM/QSuA2uz36AXxct/4LPVOgRfCcNmEiZuVqh ZDxVWu1ScY1IRGlwpxfrcGX0nmgLaOwAZeMLQrJZ3mudJsmvtcRPjEQQokozROZIRpeI gtXS5yvyw9M8dHhz9WSSF0jVtdh5uE+Uo1lvkcXRUjp79rbKsx5N7FN7t9NbhA4LaT2w hHLoGFLS+6WiLMva9b+rGn/yKYpyU5tsTfEROQhwaH9dZS6QhVjaJUGRS4ZsjYUcdB8A 3Kodt07+3KrJNXnka7jUDAoe8+jWSjNP6BEnMz8GiLoEDPygaD7Ch/4Za69mIYSxuM7K RJhw== 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=5ydHpp39bvPVwbOtGyEeLGh0RRaoR5CKjd5o/SJ7NRk=; fh=0k4mBU04Ft9CWTdxixckTeTbcVBfJ8B4o6L/rnhuvfU=; b=UPauLh/DO+PIkkOGC22DSzPZCOcbhd6UFe+QDczENcWXd6RfFRGYrSldSlzez/80Qu 7QA2uHbMS8BYsfQKponWMfQ2FnRu7ysKxzsHjgTIMZhPBbRFY1k7q5ghkUt35E691KvQ iIFwulFDfn362tRHgwZeqcbzN4tRjKYU8BJ+j4CEFXOuJyNRQW145RmDqCN8qDLl0pfd f3/uWzHb4fk3q2jeuMTy2/ow4VK2PVfDYLg5bJABStWhbyAArUa7+qgdS99mEKboK33r y33fHdLOPE3HOmiKM5qlQphPYcuOtOIweUs2zO5hPKx7k+NJw7kDfibGmU42cokoBtjA tEeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b="WsvVs/04"; 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=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a056402068700b0052338adde17si3017056edy.383.2023.08.08.11.09.15; Tue, 08 Aug 2023 11:09:28 -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=@toke.dk header.s=20161023 header.b="WsvVs/04"; 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=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232697AbjHHRcn (ORCPT + 56 others); Tue, 8 Aug 2023 13:32:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230371AbjHHRbo (ORCPT ); Tue, 8 Aug 2023 13:31:44 -0400 Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5695621E59 for ; Tue, 8 Aug 2023 09:13:44 -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=1691502172; bh=5ydHpp39bvPVwbOtGyEeLGh0RRaoR5CKjd5o/SJ7NRk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WsvVs/04B8SbDkksfWKRXGu75lVIp43UqSdjuDZ2tWEbCHcWKFsafvGjRC4KdCk9b KMSaFxfz6kWZuiiLH43Fpp16ZSh84+5n0mSdblpyj9L/J+9FCa3G7kigeDTxSaaFZx r6/IHbITlZVwaALMjkPZKbpXMQGpZAM2iW2IZwxlnLJ9NtdFWdRDYivRDqK68u7P8l zjwC8sGXXlk6861E6+syWQN4cUsep+vVLqiv3Jbfo9CxAFXQlqrD1IwXiJhT4Vroft DYNXWTKxDMS4QtUszVGekI3Er2FgY57W8hzsCirHfEDQNwIMoeMLsJZYNQ+LvRKtoH 3O60kHsTsmNQw== To: Ruan Jinjie , kvalo@kernel.org, linux-wireless@vger.kernel.org Cc: ruanjinjie@huawei.com Subject: Re: [PATCH -next] ath9k: Remove unnecessary ternary operators In-Reply-To: <20230731124455.2039184-1-ruanjinjie@huawei.com> References: <20230731124455.2039184-1-ruanjinjie@huawei.com> Date: Tue, 08 Aug 2023 15:42:52 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87h6p9bqg3.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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Ruan Jinjie writes: > Ther are a little ternary operators, the true or false judgement > of which is unnecessary in C language semantics. > > Signed-off-by: Ruan Jinjie Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen