staging: r8188eu: simplify the code to initialise inx
authorMartin Kaiser <martin@kaiser.cx>
Mon, 23 Jan 2023 20:53:25 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:10:35 +0000 (10:10 +0100)
commitce2e8fa2067f02a00d1364324d589661345b07db
tree354e4f1e32dba4baafa82d7c5bae6dcc60e67a21
parent36b7dd48b3aaacc28dded0e88a2a4d02e09be870
staging: r8188eu: simplify the code to initialise inx

Simplify the code to initialise the inx array in function
rtw_dequeue_xframe and make the code a tiny bit smaller.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230123205342.229589-7-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c