Skip to content

Commit 63533ba

Browse files
Ali-Nasrolahigregkh
authored andcommitted
staging: rtl8723bs: remove redundant semicolon in basic_types.h
The macro SET_BITS_TO_LE_2BYTE ends with a semicolon inside its definition, which can lead to an extra semicolon when used, resulting in inconsistent formatting or potential warnings. This patch removes the redundant semicolon to comply with kernel macro style guidelines and improve readability. Detected using checkpatch.pl. Signed-off-by: Ali Nasrolahi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f50d5e0 commit 63533ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8723bs/include/basic_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
( \
164164
LE_BITS_CLEARED_TO_2BYTE(__pstart, __bitoffset, __bitlen) | \
165165
((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \
166-
);
166+
)
167167

168168
#define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \
169169
*((u8 *)(__pstart)) = EF1BYTE \

0 commit comments

Comments
 (0)