staging: r8188eu: simplify xmit_buf flags
authorMartin Kaiser <martin@kaiser.cx>
Tue, 7 Feb 2023 19:23:17 +0000 (20:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:30:00 +0000 (13:30 +0100)
commit2bc00bac61ddc253d67da266372a04a23be08bd2
treee421332566cadcf514e22ab816a22f40e9dbfae8
parentb5e9b074275fe80b8483260e81979fef720bb73a
staging: r8188eu: simplify xmit_buf flags

rtw_write_port stores a queue index in pxmitbuf->flags before submitting
an urb. The urb completion function reads the flags. All it needs is the
info if the high queue was used or not.

We can replace the flags with a boolean high_queue variable.

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-6-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
drivers/staging/r8188eu/os_dep/usb_ops_linux.c