staging: r8188eu: reduce variables in block_write()
authorMichael Straube <straube.linux@gmail.com>
Tue, 12 Apr 2022 18:57:52 +0000 (20:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 06:55:54 +0000 (08:55 +0200)
commit5a9f53b44a15ed04cf9fdeaa654377cf527e9b15
treec897cb4774863da1c29088c2e19aa11b7ce37126
parentc8e68e7728b0ec62484775deb14f568825e9def3
staging: r8188eu: reduce variables in block_write()

For cleaner code and improved readability we can reduce the number
of local variables in block_write(). Use a single variable for block
size, number of blocks and remaining size.

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