staging: r8188eu: merge on_action_public_vendor into its caller
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 17:53:23 +0000 (18:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:11 +0000 (19:31 +0100)
commit51413ad540cf7648bca9bb7daef08d4e65d893b1
tree9c7cff3f57df40b12ffc53a4651b061a02048a8d
parent78dde77b227f66ad95c15f001b2dc3d7e2aa0635
staging: r8188eu: merge on_action_public_vendor into its caller

Apart from declaring variables, on_action_public_vendor is only an if
statement. Merge this function into its only caller. This makes 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/20221230175326.90617-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c