mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
staging: rtl8188eu: buf_ptr variable completely defined in a single line
It is simpler. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ec60e037c7
commit
1e7e93ee6d
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ static void _rtl88e_fw_block_write(struct adapter *adapt,
|
|||
usb_write32(adapt, offset, pu4BytePtr[i]);
|
||||
}
|
||||
|
||||
buf_ptr += blk_cnt * blk_sz;
|
||||
buf_ptr = buffer + blk_cnt * blk_sz;
|
||||
for (i = 0; i < remain; i++, offset++) {
|
||||
usb_write8(adapt, offset, buf_ptr[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue