* [PATCH] rtl8723bs: Remove redundant macro in basic_types.h
@ 2026-10-16 1:19 iuseacosbtw
2026-10-16 22:42 ` Ethan Tidmore
0 siblings, 1 reply; 3+ messages in thread
From: iuseacosbtw @ 2026-10-16 1:19 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, Alexis Buttler
From: Alexis Buttler <iuseacosbtw@gmail.com>
LE_BITS_CLEARED_TO_1BYTE_8BIT() is only used by SET_BITS_TO_LE_1BYTE_8BIT(),
and its implementation simply expands to LE_P1BYTE_TO_HOST_1BYTE().
Remove LE_BITS_CLEARED_TO_1BYTE_8BIT() and replace its original invocation with the definition.
Signed-off-by: Alexis Buttler <iuseacosbtw@gmail.com>
---
drivers/staging/rtl8723bs/include/basic_types.h | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/basic_types.h b/drivers/staging/rtl8723bs/include/basic_types.h
index d2436459cff6..e2abbf691e21 100644
--- a/drivers/staging/rtl8723bs/include/basic_types.h
+++ b/drivers/staging/rtl8723bs/include/basic_types.h
@@ -143,16 +143,11 @@
((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
))
-#define LE_BITS_CLEARED_TO_1BYTE_8BIT(__pStart, __BitOffset, __BitLen) \
- (\
- LE_P1BYTE_TO_HOST_1BYTE(__pStart) \
- )
-
#define SET_BITS_TO_LE_1BYTE_8BIT(__pStart, __BitOffset, __BitLen, __Value) \
{ \
*((u8 *)(__pStart)) = \
EF1Byte(\
- LE_BITS_CLEARED_TO_1BYTE_8BIT(__pStart, __BitOffset, __BitLen) \
+ LE_P1BYTE_TO_HOST_1BYTE(__pStart) \
| \
((u8)__Value) \
); \
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] rtl8723bs: Remove redundant macro in basic_types.h
2026-10-16 1:19 [PATCH] rtl8723bs: Remove redundant macro in basic_types.h iuseacosbtw
@ 2026-10-16 22:42 ` Ethan Tidmore
2026-10-17 0:12 ` iuseacosbtw
0 siblings, 1 reply; 3+ messages in thread
From: Ethan Tidmore @ 2026-10-16 22:42 UTC (permalink / raw)
To: iuseacosbtw, gregkh; +Cc: linux-staging
On Thu Oct 15, 2026 at 8:19 PM CDT, iuseacosbtw wrote:
> From: Alexis Buttler <iuseacosbtw@gmail.com>
>
> LE_BITS_CLEARED_TO_1BYTE_8BIT() is only used by SET_BITS_TO_LE_1BYTE_8BIT(),
> and its implementation simply expands to LE_P1BYTE_TO_HOST_1BYTE().
> Remove LE_BITS_CLEARED_TO_1BYTE_8BIT() and replace its original invocation with the definition.
>
> Signed-off-by: Alexis Buttler <iuseacosbtw@gmail.com>
> ---
No more patches for this driver are being accepted. This driver is being
deleted in the next merge window.
Thanks,
ET
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rtl8723bs: Remove redundant macro in basic_types.h
2026-10-16 22:42 ` Ethan Tidmore
@ 2026-10-17 0:12 ` iuseacosbtw
0 siblings, 0 replies; 3+ messages in thread
From: iuseacosbtw @ 2026-10-17 0:12 UTC (permalink / raw)
To: ethantidmore06; +Cc: gregkh, iuseacosbtw, linux-staging
> No more patches for this driver are being accepted. This driver is being
> deleted in the next merge window.
Thank you, this saves me a lot of time!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-17 0:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 1:19 [PATCH] rtl8723bs: Remove redundant macro in basic_types.h iuseacosbtw
2026-10-16 22:42 ` Ethan Tidmore
2026-10-17 0:12 ` iuseacosbtw
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.