From: linux@treblig.org
To: pkshih@realtek.com, linux-wireless@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 0/3] rtlwifi deadcoding
Date: Sat, 26 Apr 2025 00:53:37 +0100 [thread overview]
Message-ID: <20250425235340.288340-1-linux@treblig.org> (raw)
From: "Dr. David Alan Gilbert" <linux@treblig.org>
Hi,
A bunch of small deadcode cleanups for unused functions, many
of which are empty anyway.
However, one odd thing I noticed while preparing these is
rtl8188ee_bt_hw_init() in
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c
isn't called - lots of the other models have similarly
named functions that are called; is that a bug just
forgetting to call it?
Dave
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Dr. David Alan Gilbert (3):
wifi: rtlwifi: Remove unused rtl_usb_{resume|suspend}
wifi: rtlwifi: Remove uncalled stub rtl*_phy_ap_calibrate
wifi: rtlwifi: Remove unused rtl_bb_delay()
drivers/net/wireless/realtek/rtlwifi/core.c | 11 -----------
drivers/net/wireless/realtek/rtlwifi/core.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 5 -----
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.c | 5 -----
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c | 4 ----
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 4 ----
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.h | 1 -
drivers/net/wireless/realtek/rtlwifi/usb.c | 12 ------------
drivers/net/wireless/realtek/rtlwifi/usb.h | 2 --
12 files changed, 48 deletions(-)
--
2.49.0
next reply other threads:[~2025-04-25 23:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-25 23:53 linux [this message]
2025-04-25 23:53 ` [PATCH 1/3] wifi: rtlwifi: Remove unused rtl_usb_{resume|suspend} linux
2025-05-05 1:31 ` Ping-Ke Shih
2025-05-05 1:39 ` Dr. David Alan Gilbert
2025-05-05 2:07 ` Ping-Ke Shih
2025-04-25 23:53 ` [PATCH 2/3] wifi: rtlwifi: Remove uncalled stub rtl*_phy_ap_calibrate linux
2025-04-25 23:53 ` [PATCH 3/3] wifi: rtlwifi: Remove unused rtl_bb_delay() linux
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=20250425235340.288340-1-linux@treblig.org \
--to=linux@treblig.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/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