public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/5] staging: rtl8723bs: remove custom FIELD_OFFSET macro and dead code
@ 2025-11-22 17:45 Navaneeth K
  2025-11-22 17:45 ` [PATCH 1/5] staging: rtl8723bs: remove custom FIELD_OFFSET macro Navaneeth K
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Navaneeth K @ 2025-11-22 17:45 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Navaneeth K

This series performs cleanup on the rtl8723bs staging driver to align
with kernel coding standards.

The driver defined a custom macro `FIELD_OFFSET` which duplicated the
functionality of the standard `offsetof()` macro. This series replaces
all usages of the custom macro with the standard one and removes the
redundant definition.

Additionally, this series removes dead commented-out code in `odm.c`
that referenced unsupported chips (RTL8723A/RTL8188E).

All patches checkpatch clean.

Navaneeth K (5):
  staging: rtl8723bs: remove custom FIELD_OFFSET macro
  staging: rtl8723bs: replace FIELD_OFFSET usage with offsetof
  staging: rtl8723bs: use standard offsetof in cfg80211 operations
  staging: rtl8723bs: remove dead code from odm.c
  staging: rtl8723bs: use offsetof in rtw_mlme_ext.c

 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c     | 4 ++--
 drivers/staging/rtl8723bs/hal/odm.c               | 4 ----
 drivers/staging/rtl8723bs/include/basic_types.h   | 3 +--
 drivers/staging/rtl8723bs/include/drv_types.h     | 4 ++--
 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 3 ++-
 5 files changed, 7 insertions(+), 11 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-11-24 13:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-22 17:45 [PATCH 0/5] staging: rtl8723bs: remove custom FIELD_OFFSET macro and dead code Navaneeth K
2025-11-22 17:45 ` [PATCH 1/5] staging: rtl8723bs: remove custom FIELD_OFFSET macro Navaneeth K
2025-11-22 17:45 ` [PATCH 2/5] staging: rtl8723bs: replace FIELD_OFFSET usage with offsetof Navaneeth K
2025-11-24  8:08   ` Dan Carpenter
2025-11-24  9:17     ` david laight
2025-11-24  9:45       ` Dan Carpenter
2025-11-24 12:13         ` david laight
2025-11-24 13:07           ` Navaneeth K
2025-11-22 17:45 ` [PATCH 3/5] staging: rtl8723bs: use standard offsetof in cfg80211 operations Navaneeth K
2025-11-22 17:45 ` [PATCH 4/5] staging: rtl8723bs: remove dead code from odm.c Navaneeth K
2025-11-24  8:11   ` Dan Carpenter
2025-11-22 17:45 ` [PATCH 5/5] staging: rtl8723bs: use offsetof in rtw_mlme_ext.c Navaneeth K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox