]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebcdffc559f80cb4ea701fbeb3ebdab3beaa2813
tree0d25cc484537daea5d012075f9ef9cf771ddfdff
parentf8428bd3726579f9b965562055d57d0cf5364b05
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