staging: rtl8723bs: split multiple assignment in osdep_service.c
PATCH 1/1 staging: rtl8723bs: split multiple assignment in osdep_service.c
v2:
- Fix incorrect Author email in commit
Avoid multiple assignments in a single statement.
No functional change.
--- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8723bs/os_dep/osdep_service.c +2 -1
@@ -226,7 +226,8 @@ struct rtw_cbuf *rtw_cbuf_alloc(u32 size) cbuf =rtw_malloc (struct_size (cbuf, bufs, size));if (cbuf) { - cbuf->write = cbuf->read =0 ; + cbuf->write =0 ; + cbuf->read =0 ; cbuf->size = size; }
Signature · 1 line
2.34.1