staging: r8188eu: odm_rate_adapt Type is constant
authorMartin Kaiser <martin@kaiser.cx>
Wed, 20 Oct 2021 19:53:58 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Oct 2021 08:27:05 +0000 (10:27 +0200)
commit35f8fa8f01f87ce60038e60b78d5017fb8e1d0f2
tree5537ddf3b0d4bef826fc42cc72cf75589c12b3e5
parent4df5190976baaab9fea466702ac23aa96ff1266f
staging: r8188eu: odm_rate_adapt Type is constant

Type in struct odm_rate_adapt is always DM_Type_ByDriver.
Therefore, bUseRAMask is always true.

Remove the constant components, unused defines and dead code.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211020195401.12931-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm.c
drivers/staging/r8188eu/include/odm.h