staging: r8188eu: merge _ReadLEDSetting() into ReadAdapterInfo8188EU()
authorMichael Straube <straube.linux@gmail.com>
Tue, 28 Dec 2021 10:11:20 +0000 (11:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 16:14:29 +0000 (17:14 +0100)
commit20a77667bbd7c28ec4f76c3c811dc22c65b4bee6
treef9683df238bb4e35545df104c55fbfebecd214de
parent6a3631bdacb10fcbddb8df3cab44d344d355f732
staging: r8188eu: merge _ReadLEDSetting() into ReadAdapterInfo8188EU()

Function _ReadLEDSetting() sets only a single variable and the only
user is ReadAdapterInfo8188EU(). Remove _ReadLEDSetting() and set the
variable in ReadAdapterInfo8188EU() directly.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211228101120.9120-11-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c