staging: r8188eu: use efuse map length define directly
authorMartin Kaiser <martin@kaiser.cx>
Sat, 13 Nov 2021 18:55:11 +0000 (19:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:32:35 +0000 (10:32 +0100)
commit36c6b1eb57c0dbf73c34d56a241a72b30406a6f3
treecf9721b9be137fc68b323e62e0363e157a22ba75
parenta15aed66338c97a757aebe1f08ab74b82e6e28cd
staging: r8188eu: use efuse map length define directly

The length of the efuse data section is constant. We can use the
corresponding define directly, there's no need to get the length
from rtl8188e_EFUSE_GetEfuseDefinition.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211113185518.23941-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_efuse.c