staging: r8188eu: merge small adapter info helpers
authorMartin Kaiser <martin@kaiser.cx>
Sat, 13 Nov 2021 18:55:07 +0000 (19:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:32:35 +0000 (10:32 +0100)
commit2267ac01628b3c062215afd0036215bf50318de2
tree87d0341cfbc48fca9b46d6186b69a70ea308be43
parent6f520d1f50e9c7606a607a116b59b634b3a9a891
staging: r8188eu: merge small adapter info helpers

ReadAdapterInfo8188EU calls Hal_InitPGData88E and readAdapterInfo_8188EU,
both of which are small and have no other callers. Merge the two latter
functions into ReadAdapterInfo8188EU.

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