staging: rtl8188eu: ctrl vendor req index is not used
authorMartin Kaiser <martin@kaiser.cx>
Tue, 6 Apr 2021 20:48:21 +0000 (22:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 08:24:47 +0000 (10:24 +0200)
commit3d0be94f62fdee2278fec653bf6b952136a51516
tree47520476a2cfb5ab8bd38eb82ab21ea02ecbc4eb
parenteeb4661560ffe0015a8651c23ebfc578bed6ee58
staging: rtl8188eu: ctrl vendor req index is not used

The index for rtl8188eu's vendor-specific control requests is not used.
Remove the index parameter from usbctrl_vendorreq and pass index 0 to
usb_control_msg.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210406204829.18130-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c