staging: ks7010: init local variables when they are declared in ks7010_sdio_probe
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 19 Apr 2018 05:08:15 +0000 (07:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:33:24 +0000 (14:33 +0200)
commit2c3f894567c6556772048b54d306b48c2d87b4a6
treec256dfdce9fcaf0fe254a69e55e615b60a57ee36
parent5e8779dcdcc51fda2437f39deef26b6b6af5058a
staging: ks7010: init local variables when they are declared in ks7010_sdio_probe

This commit change init point of two variables to forward them to
init time. This variables are just being assigned some lines after
and it is more clear to init them when the init value is known and
in this case this is known when they are declared.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c