staging: r8188eu: change all num...Q variables to u8
authorMartin Kaiser <martin@kaiser.cx>
Mon, 8 Aug 2022 20:14:03 +0000 (22:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:18:29 +0000 (15:18 +0200)
commita6400455a8ef9e7e6510394384f61b54fa763f5e
tree81064dd106268b80c8082e37de54de69fcb38291
parent0dd01c0fd15abf49cc57b28b252181d869fb808b
staging: r8188eu: change all num...Q variables to u8

All of numPubQ, numHQ and numLQ variables store only u8 values. Change
their types to u8. We can then simplify the REG_RQPN expression. The
macros and the temporary variable are not needed any more.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220808201405.68966-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtl8188e_spec.h