[PATCH rtw-next v2 0/2] wifi: rtlwifi/rtw89: remove conditional returns with no effect

From: Sang-Heon Jeon

Date: Sun Jul 26 2026 - 09:41:09 EST


Hello,

This series removes conditional returns where both branches return
the same value, so the check has no effect. As suggested by Ping-Ke,
the wifi patch of the treewide v1 series [1] is split per driver and
posted separately.

Both patches are generated by the Coccinelle script, which you can
find in v1.

---
Changes from v1 [1]
- Split the wifi patch per driver
- Change base to rtw/rtw-next
- Filter only rtlwifi and rtw89 changes

[1] https://lore.kernel.org/all/20260723184538.3888637-1-ekffu200098@xxxxxxxxx/
---

Sang-Heon Jeon (2):
wifi: rtlwifi: rtl8821ae: remove conditional return with no effect
wifi: rtw89: remove conditional return with no effect

drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 7 +------
drivers/net/wireless/realtek/rtw89/mac.c | 6 +-----
drivers/net/wireless/realtek/rtw89/mac_be.c | 6 +-----
3 files changed, 3 insertions(+), 16 deletions(-)

--
2.43.0