staging: r8188eu: simplify rtw_get_ff_hwaddr
authorMartin Kaiser <martin@kaiser.cx>
Tue, 7 Feb 2023 19:23:18 +0000 (20:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:30:00 +0000 (13:30 +0100)
commitfd48124e09825797bdc8ff0120f2401030c618ee
tree891b4cb2ed370bbb227f90e33c27d453788d8ce2
parent2bc00bac61ddc253d67da266372a04a23be08bd2
staging: r8188eu: simplify rtw_get_ff_hwaddr

On both occassions where rtw_get_ff_hwaddr is called, the result is used
as addr parameter for rtw_write_port. rtw_write_port only needs the info
if the high queue was used or not. Simplify rtw_get_ff_hwaddr accordingly
and remove the now unused queue defines.

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