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:
Ivan Safonov
2015-11-03 16:51:11 +07:00
committed by Greg Kroah-Hartman
parent ec60e037c7
commit 1e7e93ee6d

View File

@@ -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]);
}