Commit d82c568
staging: rtl8723bs: replace FIELD_OFFSET usage with offsetof in rtw_mlme_ext.c
Replace usage of the custom FIELD_OFFSET macro with the standard
offsetof() macro in rtw_mlme_ext.c. This improves code readability
and uses the kernel's standard mechanism.
Signed-off-by: Navaneeth K <knavaneeth786@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20251125112059.16913-5-knavaneeth786@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 2cbcfd3 commit d82c568
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5244 | 5244 | | |
5245 | 5245 | | |
5246 | 5246 | | |
5247 | | - | |
| 5247 | + | |
5248 | 5248 | | |
5249 | 5249 | | |
5250 | 5250 | | |
| |||
5308 | 5308 | | |
5309 | 5309 | | |
5310 | 5310 | | |
5311 | | - | |
| 5311 | + | |
5312 | 5312 | | |
5313 | 5313 | | |
5314 | 5314 | | |
| |||
0 commit comments