staging: r8188eu: change void parameters to u8
authorMichael Straube <straube.linux@gmail.com>
Tue, 12 Apr 2022 18:57:51 +0000 (20:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 06:55:54 +0000 (08:55 +0200)
commitc8e68e7728b0ec62484775deb14f568825e9def3
tree76b01fe31ed6ed0bc088fa345414f4f5d19a5912
parente8f2410669f15e359729c0618d81c44d3a7013dc
staging: r8188eu: change void parameters to u8

The second parameter of write_fw(), page_write() and block_write()
is a void pointer, but we always pass an u8 pointer. We can convert
this parameter to an u8 pointer. The pointer is not changed in the
functions, so we can safely remove the local variable bufferPtr.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220412185754.8695-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_fw.c