]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c56200ceba57eda8558d3630f2aa52995d84c45
tree93dc947223e1260840886b54d4c63629927c4362
parenta06f1ff580882d349cd1abddcf058782905f7a30
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