staging: r8188eu: make numNQ a u8
authorMartin Kaiser <martin@kaiser.cx>
Mon, 8 Aug 2022 20:14:02 +0000 (22:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:18:29 +0000 (15:18 +0200)
commit0dd01c0fd15abf49cc57b28b252181d869fb808b
tree4a49d744c5c6b385deeb8be5c485ed8b9660db61
parentca6311f0e3513b45b076da982085c80c35e1b961
staging: r8188eu: make numNQ a u8

The numNQ variable in _InitQueueReservedPage is defined as u32. It is
either set to 0 or to 0x1C. Change its type to u8 and remove the code that
casts the u32 value to u8.

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-3-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