Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1747121rdb; Mon, 2 Oct 2023 22:29:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtgZSYqqCS8cP0LgSqPaRbt60VIkXcTGD+OslgHUlMYuHqWgUZMvH3mZnKeTDV6XUQw7oV X-Received: by 2002:a17:90a:4ce6:b0:277:3379:ce04 with SMTP id k93-20020a17090a4ce600b002773379ce04mr2599746pjh.18.1696310994146; Mon, 02 Oct 2023 22:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696310994; cv=none; d=google.com; s=arc-20160816; b=kXN1G91NgxqLUBTxZm0eR5SRICqpPYmwHKCIO9dQThOyKUdumvefKivkbOagBXglxD a9hTGZEuamzRsGq5WJfSr6P+OEL1TurGn2mBCSoftBHkJ6OBq0AwmQpAW/5/p9bLUDzq xIu3sthaD+GBjIbkkNcuD4HNhBXjIkim2qMuiHmcpKWAM8X9FtAztgt57uRfI+Kd6GAH kUk8IrB+xtcKv0EFgmY7pu2gabw3AQi4ZUnwZs24uJacTACzjCC5NjJC2nS1JgHILnNb 24vCzOD3zxSgRthOb9jqtSHqKZpzJMUebtEE3H3g/V3whnQ7JplSn99xCODPF+FyfxVT MZ6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=Ap3F8+AWZtYaIYkMQM2XoEdu1B/4ILF7uMNEdq1KaVY=; fh=2hI485HFlXJy+4lLjgPX5/GYVcxclaS/2eVblZtiuKQ=; b=wETyqRa7TLL4IgToDkSSouDQl4I0NwmoDMtdPGV6H3U0Q3RELLpze4l14r4a4GHPo+ aY7eYM8WBiUoJUyiKZCDwyUWIAUF1IuI+RaPAF9d90bXIy5GDQf8mKv+MNM1Oz2bU6cv v97MhWfW1XrJ+V5HTRHSCQ8nOfmOkVK4gnbsehQ+pjuB2LbX207kj5Waz/qoc03psXDI HLDuLZs5yubJ8SyEo3Pe87t/odvS21TD/6sOXOSeWkfM64jsDXdwK70DYU4TkrXcvBPd YNKkt9TiUqJDse14EDuqYz7w0xe3pjaYIcm/ymON/PVUr5OEy7goapzSTYa8Zg5CEcY7 hCkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id z22-20020a17090ab11600b00279435d74d8si7568373pjq.135.2023.10.02.22.29.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 22:29:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 297818026381; Mon, 2 Oct 2023 22:29:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230216AbjJCF3t convert rfc822-to-8bit (ORCPT + 53 others); Tue, 3 Oct 2023 01:29:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbjJCF3s (ORCPT ); Tue, 3 Oct 2023 01:29:48 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AEB2AC for ; Mon, 2 Oct 2023 22:29:45 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3935TXEI01579663, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.92/5.92) with ESMTPS id 3935TXEI01579663 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Oct 2023 13:29:33 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 3 Oct 2023 13:29:33 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 3 Oct 2023 13:29:33 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7]) by RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7%5]) with mapi id 15.01.2375.007; Tue, 3 Oct 2023 13:29:33 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" , "lvc-project@linuxtesting.org" Subject: RE: [PATCH] [v2] wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() Thread-Topic: [PATCH] [v2] wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() Thread-Index: AQHZ9bLffU6XGSG4RkuytCDJ9X/s5LA3iaVA Date: Tue, 3 Oct 2023 05:29:32 +0000 Message-ID: <3b902c90216c43d99b3086dc63f289fe@realtek.com> References: <20231003043318.11370-1-dmantipov@yandex.ru> In-Reply-To: <20231003043318.11370-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.69.25] x-kse-serverinfo: RTEXMBS03.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 22:29:49 -0700 (PDT) > -----Original Message----- > From: Dmitry Antipov > Sent: Tuesday, October 3, 2023 12:33 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; lvc-project@linuxtesting.org; Dmitry > Antipov > Subject: [PATCH] [v2] wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() > > Since '!(0x5ea42b & 0xffff0000)' is always false, remove unreachable > block in 'rtl92d_dm_check_edca_turbo()' and convert EDCA limits to > constant variables. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih