Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3780817ybe; Mon, 16 Sep 2019 00:46:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyl2rUArESTa1d9O+s/9U4cPizOoT/YWBz1+YP0wMnoDUMqKZSo5AeX8c/lmnCeIG8bWhZ2 X-Received: by 2002:a17:906:f207:: with SMTP id gt7mr49989859ejb.126.1568620009228; Mon, 16 Sep 2019 00:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568620009; cv=none; d=google.com; s=arc-20160816; b=W/sFS2EztKAtYNjyWmaLtI5BnMDhJ86geGYjtfDCeFK/riNIawYmZ/n9tItURgluaD S8WLoNGMTqFcCuA9oHh2ILz3EHIbiXf3AGo8DNdRyaBTEIzkZ77Bb7D0UdmCUVHrEgLA ZpE8PnUHU6yDCbzF7h/wyr1M+3EZpBKUuRIuSjXWChecbhYs3k/QpIT4lY5OIojrOwDE c8O14W6X0NGOrSG/Gb4Sr22G1EKOeR1O/iBhc+k9DXkDcUGNuqvt0yWjbEO+2n/tbpOL B6loXTCgdXjoezyfmdzy2XgmJedLa3x6uoa5Ddphxba+Ost9/uEDELY+7OWzIhROQk/Q L/JA== 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=sHT8k9Pgtg7HCERyNG6/OnVQ+sd7MUB0e/muTV4bzoU=; b=yM+mhU/zI6pHpkMNYCu6kCsIOfoTG9TOdssAcAGkluHwMMneuhgt7qAIL5zpcDlb9D 681PKDaNFR0nz6lWuwRkFfc8HEkuWm4s1JjQZt5s32e56IoQ47dMxsaQsLAeZ1vRktaE yRFLkYYVaWALuyHRpPqUazFzU8+s1OP/ILucNfceGaQgZRuwuA/Jf6C4+mY0BAZ3xDDm 9KyNDL0mqzLdJDnxS9K19WMtlDWMmub1DXdQAqy0oO3Pn2QOgQLEDKGYQBzhc4cJZzIV nHp/1Mg4z9ons3sRp0AcpfsB7CAw4ZbNJEjUz++wwqgHCZzgN4ambpn/69Wqyx4KpKtd GMkQ== 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 a53si20976392edc.175.2019.09.16.00.46.25; Mon, 16 Sep 2019 00:46:48 -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 S1730264AbfIPHEC (ORCPT + 99 others); Mon, 16 Sep 2019 03:04:02 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:60347 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730241AbfIPHEB (ORCPT ); Mon, 16 Sep 2019 03:04:01 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x8G73thg029988, 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 x8G73thg029988 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 16 Sep 2019 15:03:56 +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; Mon, 16 Sep 2019 15:03:55 +0800 From: To: CC: , Subject: [PATCH 08/15] rtw88: remove unused lps state check helper Date: Mon, 16 Sep 2019 15:03:38 +0800 Message-ID: <1568617425-28062-9-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1568617425-28062-1-git-send-email-yhchuang@realtek.com> References: <1568617425-28062-1-git-send-email-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 --- 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 a154177..d57996e 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 d2aae61..5aed11b 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.7.4