mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
staging: rtl8723bs: Split multiple assignments in _rtw_open_pktfile
In _rtw_open_pktfile(), multiple variables are assigned on the same line. According to the Linux kernel coding style, multiple assignments on a single line should be avoided. Split them into separate lines to improve readability. Signed-off-by: Amin Madani <aminmadani112@gmail.com> Reviewed-by: Dan Carpenter <error27@gmail.com> Link: https://patch.msgid.link/20260716083822.2898-1-aminmadani112@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ebe59e66b7
commit
cb08dcd0a8
|
|
@ -15,8 +15,10 @@ unsigned int rtw_remainder_len(struct pkt_file *pfile)
|
|||
void _rtw_open_pktfile(struct sk_buff *pktptr, struct pkt_file *pfile)
|
||||
{
|
||||
pfile->pkt = pktptr;
|
||||
pfile->cur_addr = pfile->buf_start = pktptr->data;
|
||||
pfile->pkt_len = pfile->buf_len = pktptr->len;
|
||||
pfile->buf_start = pktptr->data;
|
||||
pfile->cur_addr = pktptr->data;
|
||||
pfile->buf_len = pktptr->len;
|
||||
pfile->pkt_len = pktptr->len;
|
||||
|
||||
pfile->cur_buffer = pfile->buf_start;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user