staging: r8188eu: simplify three_out_pipe
authorMartin Kaiser <martin@kaiser.cx>
Sat, 6 Aug 2022 19:55:36 +0000 (21:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:17:58 +0000 (15:17 +0200)
commit52a5bba72c834a7749df70f77396cb21e96b74ee
tree74e43d92ffa6fe86baba7d1ddef305f136001ef7
parent609ba7515fe2be666828d5b372695d799ac04a0c
staging: r8188eu: simplify three_out_pipe

Only one of the mappings in three_out_pipe depends on the wifi_cfg flag.
Simplify the code accordingly.

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