Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2298712rdg; Sun, 15 Oct 2023 22:39:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCqi6VCORHPSE+EUMlDnNdONe5PJZgT9cprVqoSS3Yn040OyYPGKEOpj1xqqJCcMbawHiB X-Received: by 2002:a05:6871:8a4:b0:1e9:8885:b534 with SMTP id r36-20020a05687108a400b001e98885b534mr18548981oaq.9.1697434745602; Sun, 15 Oct 2023 22:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697434745; cv=none; d=google.com; s=arc-20160816; b=M6VQI5Qzc+XPDp7OLZyaqRSEUo7f/Z9AWjjEF/ADSBcJd2+kM4vQVghY8/h4XMgvks JO/RKdyrYILYVmmmcZeJNJjlZ3xP7MpS8qS41sIzBmU9ST313c4ikL2GcJivfU9I2Fw4 NkCLmrbz/yRONtjhunuBbjZaElaoI0CPXFLZ4sqBAnFVSmVQrtVXvJfe5nbWWg83wLnd niY1mJz4yut84/5nmO08g4p/JswdhM+AvXiOIXcvfA5EkviljsnwbfhrlHY7T3bFF1QG Lo80gF7a6AAqNNIszTNRUvyZ3NqZxZ5utZBEu+xMt7dAkDy7HIj+id8bikdQNOaxuGVy DteA== 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=0KrlZ0PNAAZQ4HgC0E3aHgd0qtL74HX4NdeVpiNuwWs=; fh=pZpLv3JBu7ewThcXtBU3x3uGUeTqUHmHtpmV6AvLzGM=; b=PQjqng5UPVDIXXWGnliow3UG4pAOgv5+IeH3x3pxLzhRSr/8mJAvhe5s5s+DCsd3YR RE5umEnpob1xIOWyMA9k6iDvvtMF+NN9pfO7aBtp+dFbjYZC3A/6dSN2iFsdaWY+t9+6 IBjq1M2y5m0n658eyhYMUkrr1pQnWvhUwS3yTolxWyDeaC7vv8p8uX6+Nv85vTUmvNL4 7slnWXVuJt3T9fIHuusScmPorHTXg593WCvEj3A+Dzt/3A7F4K/Hs1IEB3wmu4vcMr0y InZdjFYy+hIGm2YtCiggW89plhwcGHJvoT1Q7OH3CJr77tXi2SbxqZNCagofOF3eOXKR 9s1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s8-20020a632c08000000b005a9abc4b6b3si7083694pgs.597.2023.10.15.22.39.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 22:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 08FC0803D563; Sun, 15 Oct 2023 22:39:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231142AbjJPFjB convert rfc822-to-8bit (ORCPT + 51 others); Mon, 16 Oct 2023 01:39:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjJPFjB (ORCPT ); Mon, 16 Oct 2023 01:39:01 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94ABDE0 for ; Sun, 15 Oct 2023 22:38:59 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39G5cqxA72177201, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.93/5.92) with ESMTPS id 39G5cqxA72177201 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Oct 2023 13:38:52 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 16 Oct 2023 13:38:52 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 16 Oct 2023 13:38:52 +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; Mon, 16 Oct 2023 13:38:52 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] [v2] wifi: rtlwifi: cleanup struct rtl_ps_ctl Thread-Topic: [PATCH] [v2] wifi: rtlwifi: cleanup struct rtl_ps_ctl Thread-Index: AQHZ/dM6V+erFrIW9EqV1cIB7hOLt7BL6lYw Date: Mon, 16 Oct 2023 05:38:52 +0000 Message-ID: References: <20231013124534.19714-1-dmantipov@yandex.ru> In-Reply-To: <20231013124534.19714-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.71.113] x-kse-serverinfo: RTEXMBS04.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-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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 15 Oct 2023 22:39:02 -0700 (PDT) > -----Original Message----- > From: Dmitry Antipov > Sent: Friday, October 13, 2023 8:46 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; Dmitry Antipov > Subject: [PATCH] [v2] wifi: rtlwifi: cleanup struct rtl_ps_ctl > > Remove set but otherwise unused 'sleep_ms', 'last_action', 'state' > and 'last_slept' members of 'struct rtl_ps_ctl' (these seems to be > a leftovers from some older code) and adjust 'rtl_swlps_wq_callback()' > accordingly. Compile tested only. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih Thanks.