staging: r8188eu: simplify _InitNormalChipTwoOutEpPriority
authorMartin Kaiser <martin@kaiser.cx>
Sat, 6 Aug 2022 19:55:40 +0000 (21:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:17:58 +0000 (15:17 +0200)
commit93cef2e6541a422cd8e5ad3d58a5cbff11db57c2
tree3560136785302813d53e602ddc3772d7f13e9a21
parente303b2622c7cc8853291068ade43edfe39db10d8
staging: r8188eu: simplify _InitNormalChipTwoOutEpPriority

Simplify the _InitNormalChipTwoOutEpPriority function, now that we have
only one configuration for the queues.

Remove the variables which are constant. Keep only those settings that
depend on wifi_spec.

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/20220806195540.777390-14-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c