staging/rtl8192u: Initialize variables in the definition block
authorLen Baker <len.baker@gmx.com>
Tue, 24 Aug 2021 08:59:58 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 10:14:27 +0000 (12:14 +0200)
commitc4b30776bf2941e0d17d3f164e54e553b2456888
treeef082ed655fb1d026944138e1f407811252c1771
parent7dfe9fac786769e1a49fa350158d39b4fef237ba
staging/rtl8192u: Initialize variables in the definition block

Initialize the pre_cmd_cnt, post_cmd_cnt and rf_cmd_cnt variables in the
definition block as it is not necessary to do this in the middle of the
function.

Signed-off-by: Len Baker <len.baker@gmx.com>
Link: https://lore.kernel.org/r/20210824073643.GA7396@titan
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_phy.c