OSDN Git Service

staging: r8188eu: remove unneeded initializations
authorMichael Straube <straube.linux@gmail.com>
Tue, 12 Apr 2022 18:57:53 +0000 (20:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 06:55:54 +0000 (08:55 +0200)
commit067b22afad2f26a80b66dd21b72bc6978fe61a9b
treec93cfb99e3b39f7fe38fe0cea0ad8d887e1c6902
parent5a9f53b44a15ed04cf9fdeaa654377cf527e9b15
staging: r8188eu: remove unneeded initializations

The variables i and offset in block_write() are set in the code
before they are used. Remove the unneeded initializations.

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