net: wireless: rtlwifi: rtl8192de: phy.c: Cleaning up uninitialized variable
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 1 Jun 2014 20:14:38 +0000 (22:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:14 +0000 (15:49 -0400)
commit7949513b315ac70abcd292170ba1099a9a56dbfe
tree93dc947223e1260840886b54d4c63629927c4362
parent57eaeb6efa1f732ecf61130d7e0bb67c3ad9e4af
net: wireless: rtlwifi: rtl8192de: phy.c: Cleaning up uninitialized variable

There is a risk that the variables will be used without being initialized.
Have also moved variable to the part of the code where it is used.

This was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192de/phy.c