staging: rtl8188eu: remove the last urb callback macros
authorMartin Kaiser <martin@kaiser.cx>
Thu, 8 Apr 2021 19:55:50 +0000 (21:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Apr 2021 14:17:23 +0000 (16:17 +0200)
commite46ff78bc2b155ac980558a84d0a118d00fb4b12
tree0d25cc484537daea5d012075f9ef9cf771ddfdff
parenteae92424d1835634397f8f8e32c56ae777eb6cc9
staging: rtl8188eu: remove the last urb callback macros

Both usb_read_port_complete and usb_write_port_complete have a regs
parameter that is not used.

When this parameter is removed, the functions can be used as urb
completion callbacks directly. There's no need for the macros that
strip the second parameter.

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