]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6caa6e723a49d745f45090c4789e777349f9f4a4
tree6b1a636646892bbf5efc02fbd4fc8c40cb1fc3fe
parent3e286e4912ff2addadc3403e0f9fbf1e37468aa3
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