staging: r8188eu: remove unused function parameter
authorMartin Kaiser <martin@kaiser.cx>
Tue, 10 Jan 2023 20:56:25 +0000 (21:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:36:14 +0000 (19:36 +0100)
commit8db002ed48ae8d1821592f1c34d88a39294839b1
tree38a24f1da31e5ef1566cbdcdc899f0af2373b7c5
parent7b42205e9d873babd9a29337db66045884677c9f
staging: r8188eu: remove unused function parameter

The regs parameter of the usb_write_port_complete function is not used. We
can remove it.

We can also remove the macro to hide the regs parameter when
usb_write_port_complete is used as callback function for an urb transfer.

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/20230110205626.183516-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/usb_ops_linux.h
drivers/staging/r8188eu/os_dep/usb_ops_linux.c