staging: r8188eu: usb_read_port_complete needs no regs parameter
authorMartin Kaiser <martin@kaiser.cx>
Tue, 24 Jan 2023 21:01:05 +0000 (22:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:12:55 +0000 (10:12 +0100)
commitcbfc31a71d664bece503190f890b897e76d708f8
tree5b0a9a4701570813728012f30c8f9f8cd6c04e5a
parented9700c1657dc3be4ff72497626dab712ea0e2ed
staging: r8188eu: usb_read_port_complete needs no regs parameter

Remove the regs parameter from usb_read_port_complete, it is not used.

Without the regs parameter, there's no need for the define that makes
usb_read_port_complete usable as urb callback function.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230124210108.62170-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c
drivers/staging/r8188eu/include/usb_ops_linux.h