staging: r8188eu: remove MAX_CHANNEL_NUM_2G
authorMichael Straube <straube.linux@gmail.com>
Sun, 2 Jan 2022 13:11:31 +0000 (14:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jan 2022 13:31:07 +0000 (14:31 +0100)
commit7e8785d5e40bcf9fbb17cd8eedb94017882c4891
tree91dff629eb6bd8864ea22775930bf3b3be3e646b
parent65935347844eba55c2182edac668090ad5b184c9
staging: r8188eu: remove MAX_CHANNEL_NUM_2G

The constants MAX_CHANNEL_NUM_2G and MAX_CHANNEL_NUM have the same
value. Remove MAX_CHANNEL_NUM_2G and fix the place where it is used.

Acked-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220102131141.12310-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_mlme_ext.h
drivers/staging/r8188eu/include/rtw_rf.h