staging: r8188eu: use pr_info_once() to log the firmware version
authorMichael Straube <straube.linux@gmail.com>
Sun, 17 Apr 2022 17:54:40 +0000 (19:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:31:18 +0000 (18:31 +0200)
commitc77031960762b95e85e857c91e9766cd2ba498eb
tree35935a188559a5f96077514362aff3c6f2c3e956
parent4ae19e7af2ce5e0fe8aab45706f9fc168d0cb97d
staging: r8188eu: use pr_info_once() to log the firmware version

Use pr_info_once() instead of a static variable and an if statement
to log the firmware version only once.

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220417175441.13830-8-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_fw.c