]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c1d360bb161c7a67246657d1fa6dd539f1d19f4
treef9683df238bb4e35545df104c55fbfebecd214de
parent980076fae7accae1780de9af350f83eff03a7e93
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