staging: r8188eu: remove variables from rtl8188e_firmware_download()
authorMichael Straube <straube.linux@gmail.com>
Sun, 17 Apr 2022 17:54:39 +0000 (19:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:31:18 +0000 (18:31 +0200)
commit4ae19e7af2ce5e0fe8aab45706f9fc168d0cb97d
tree6b1a636646892bbf5efc02fbd4fc8c40cb1fc3fe
parent4e58dfad41320e65a3411c2c123fb115d3513335
staging: r8188eu: remove variables from rtl8188e_firmware_download()

The local variables fw_version, fw_subversion, fw_signature in
rtl8188e_firmware_download() are only used in one place. Use the
assigned values directly and remove the variables to make the code
shorter and cleaner.

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220417175441.13830-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_fw.c