From: "Iñaki Sobera Sotomayor" <inakisobera8@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
"Iñaki Sobera Sotomayor" <inakisobera8@gmail.com>
Subject: [PATCH 2/2] staging: rtl8723bs: remove unused PCI ASPM OSC definitions
Date: Tue, 6 Oct 2026 19:35:22 -0600 [thread overview]
Message-ID: <8b372e2037cff170950c0dc0b94d7cdd78ba4c80.1791312824.git.inakisobera8@gmail.com> (raw)
In-Reply-To: <0c4bc57c3034233f330f620eeb03fd7d8f8de457.1791312824.git.inakisobera8@gmail.com>
RT_PCI_ASPM_OSC_IGNORE, RT_PCI_ASPM_OSC_ENABLE and
RT_PCI_ASPM_OSC_DISABLE describe how PCI ASPM is arbitrated between the
OS and the driver. This driver is SDIO only, it depends on MMC, and the
macros are not referenced anywhere in the tree. Drop them along with
their comment.
No functional change intended.
Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@gmail.com>
---
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
index c308fcedd63..60fbd9637b9 100644
--- a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
+++ b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
@@ -84,11 +84,6 @@ enum rt_rf_power_state {
#define RT_CLEAR_PS_LEVEL(ppsc, _PS_FLAG) (ppsc->cur_ps_level &= (~(_PS_FLAG)))
#define RT_SET_PS_LEVEL(ppsc, _PS_FLAG) (ppsc->cur_ps_level |= _PS_FLAG)
-/* ASPM OSC Control bit, added by Roger, 2013.03.29. */
-#define RT_PCI_ASPM_OSC_IGNORE 0 /* PCI ASPM ignore OSC control in default */
-#define RT_PCI_ASPM_OSC_ENABLE BIT(0) /* PCI ASPM controlled by OS according to ACPI Spec 5.0 */
-#define RT_PCI_ASPM_OSC_DISABLE BIT(1) /* PCI ASPM controlled by driver or BIOS, i.e., force enable ASPM */
-
enum {
PSBBREG_RF0 = 0,
PSBBREG_RF1,
--
2.56.0
prev parent reply other threads:[~2026-10-07 1:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 1:35 [PATCH 1/2] staging: rtl8723bs: remove unused EEPROM definitions Iñaki Sobera Sotomayor
2026-10-07 1:35 ` Iñaki Sobera Sotomayor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b372e2037cff170950c0dc0b94d7cdd78ba4c80.1791312824.git.inakisobera8@gmail.com \
--to=inakisobera8@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®