staging: r8188eu: remove intermediate token variable
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 17:53:26 +0000 (18:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:11 +0000 (19:31 +0100)
commit6803d6cdf2d43948ff08a0d51fcd866bae2f0912
treea224b65a87ec028a241c1e63ed695ddc417682d8
parent0a663eafa18fd5a7d6e3d728587f31234eec2649
staging: r8188eu: remove intermediate token variable

Remove the token variable in on_action_public and use frame_body[2] as
function parameter. This saves another few lines of code.

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