Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp408028ybn; Tue, 1 Oct 2019 23:32:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhLODNr8/2WsSLSby/bJF0fG1vMe0w8NIfnGUKWeXvkLi5MpG3IHJlvEfgswL/6HTBNCAK X-Received: by 2002:a50:b7ed:: with SMTP id i42mr2075060ede.52.1569997976016; Tue, 01 Oct 2019 23:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569997976; cv=none; d=google.com; s=arc-20160816; b=p1uOsy+ih+V87zDoXXVCGdvxT5bCMuvhTnHi3Dodd9ezMmuGzoUAZpWHMmxfpu5qRh WoVGmitF1vGiT0YSttz5RddS3d5nD8HCFcw1W+QZGRfA5rBYMVncdvYGtedUZKivTDDd XCPEpB0hb8fMICoH4+CIxYd3LjyzS5jleqIML5Jur5NVJW5Zc1Bamn2vgiD1XhXA4yU2 XjKPI/42UlfHK9Z92dYTVJxczQNE23Ow3tRXe/Qk65LXMwD34qzT1Ku0VdIuQHTDTIdz ky6/L07dNLmJH2LGZs6/GeSvY62muGHfmwby6W/tPqUShnBa5S+VGvS7ysY5mnHwCRad +SSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:authenticated-by; bh=KBBykFRBcRi3VVor0HIsrUR9bZkgJWFIeQ8FQyEYl2Q=; b=H9Qjc9fngfUsd5NjiL8bYlcbh/7+6Ppm5+C1Vu4MBboMWrymEJw6UVi96ObMCZ7myq 37cs4NmilJmXY/GfuIJhuF8N76X3H7yOTZxpq99+kvOf6dP7f0aAa/mJNp5+t6BMnJZu n+UoTnVwgpiSqujMJ4OOJyW95AHiS9xn06yxGt3WAk5wVXqN/kXtFpppXEvvpNmHWzoJ u4dFiAvGu625X1YnWEITiai+LGA00diwvcC7SCjkYAtpYsMtwLQABNoCh38UW4nsB7T5 WPJdrX4k6FBxRh4sYLJe3xU/ytlXfbkDrusAEE3U5KDhNRE4VvTt3inEaLV76j9nfVNk 5vKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gh3si9455349ejb.306.2019.10.01.23.32.31; Tue, 01 Oct 2019 23:32:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729780AbfJBCbk (ORCPT + 99 others); Tue, 1 Oct 2019 22:31:40 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:46006 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbfJBCbk (ORCPT ); Tue, 1 Oct 2019 22:31:40 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x922VYAh031844, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x922VYAh031844 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 2 Oct 2019 10:31:35 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.468.0; Wed, 2 Oct 2019 10:31:34 +0800 From: To: CC: , Subject: [PATCH v2 05/12] rtw88: remove unused lps state check helper Date: Wed, 2 Oct 2019 10:31:21 +0800 Message-ID: <20191002023128.12090-6-yhchuang@realtek.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191002023128.12090-1-yhchuang@realtek.com> References: <20191002023128.12090-1-yhchuang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang This is no more used, remove it. Signed-off-by: Yan-Hsuan Chuang --- v1 -> v2 - rebase on top of wireless-drivers-next drivers/net/wireless/realtek/rtw88/ps.c | 5 ----- drivers/net/wireless/realtek/rtw88/ps.h | 1 - 2 files changed, 6 deletions(-) diff --git a/drivers/net/wireless/realtek/rtw88/ps.c b/drivers/net/wireless/realtek/rtw88/ps.c index a1541774cf0d..d57996e446fb 100644 --- a/drivers/net/wireless/realtek/rtw88/ps.c +++ b/drivers/net/wireless/realtek/rtw88/ps.c @@ -91,11 +91,6 @@ static void rtw_enter_lps_core(struct rtw_dev *rtwdev) set_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags); } -bool rtw_in_lps(struct rtw_dev *rtwdev) -{ - return test_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags); -} - void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id) { struct rtw_lps_conf *conf = &rtwdev->lps_conf; diff --git a/drivers/net/wireless/realtek/rtw88/ps.h b/drivers/net/wireless/realtek/rtw88/ps.h index d2aae613bca4..5aed11b5c182 100644 --- a/drivers/net/wireless/realtek/rtw88/ps.h +++ b/drivers/net/wireless/realtek/rtw88/ps.h @@ -12,6 +12,5 @@ int rtw_leave_ips(struct rtw_dev *rtwdev); void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id); void rtw_leave_lps(struct rtw_dev *rtwdev); -bool rtw_in_lps(struct rtw_dev *rtwdev); #endif -- 2.17.1