staging: r8188eu: remove PGMaxGroup from struct hal_data_8188e
authorMichael Straube <straube.linux@gmail.com>
Tue, 1 Feb 2022 08:42:52 +0000 (09:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:16:33 +0000 (15:16 +0100)
commit75ba99b4022ead5dc03197d91450d19768967a2f
tree5089f27ff76c934387435ed518faa99cada4947c
parent999bae66ba9d15f25f74826b847d04679c725821
staging: r8188eu: remove PGMaxGroup from struct hal_data_8188e

the variable PGMaxGroup in struct hal_data_8188e is set to 13 and
never changed. We can use the already defined constant MAX_PG_GROUP,
which is 13, and remove PGMaxGroup from struct hal_data_8188e.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220201084259.7497-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtl8188e_hal.h