staging: r8188eu: _offset is always 0 in efuse_phymap_to_logical
authorMartin Kaiser <martin@kaiser.cx>
Sat, 9 Jul 2022 17:09:58 +0000 (19:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jul 2022 08:06:45 +0000 (10:06 +0200)
commite2bd5dc33f037d627ecd3d688cd388131199ee7c
tree7c10b73b12110fbfcb9ef2583a1ef49edf166758
parentcda94a6b44f4eccd8581328f6e012db808f52905
staging: r8188eu: _offset is always 0 in efuse_phymap_to_logical

The _offset parameter of iol_read_efuse is always 0. Remove the
parameter and use 0 in the function body.

We can now replace the bytewise copy from efuseTbl to pbuf with memcpy.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220709171000.180481-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c