]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: ROMVer is always zero
authorMichael Straube <straube.linux@gmail.com>
Thu, 7 Apr 2022 19:28:14 +0000 (21:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 13:47:10 +0000 (15:47 +0200)
commit0e3a1aa9478b36781b47954062af9d0a364cf197
treed03e0ff361da61213cdd50b93ca70711c99d9e79
parentf8ca9c4463ee4b42c4f07efad63b0c06077f7dc7
staging: r8188eu: ROMVer is always zero

The variable ROMVer in struct HAL_VERSION is set to zero and never
changed. Remove it and replace its use with zero.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220407192819.10661-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/hal_com.c
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c
drivers/staging/r8188eu/include/HalVerDef.h