]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
platform: x86: asus-wmi.c: Cleaning up uninitialized variables
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 1 Jun 2014 12:58:52 +0000 (14:58 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Tue, 10 Jun 2014 23:11:08 +0000 (19:11 -0400)
commit8ad3be1eacbe252b93f5a0478413774308f3dbfb
treec25b9fe27facb4cc8689b4328ac72ce063a9d8d9
parent14627e36121c90b9a794ab0ea3195efa4c23373e
platform: x86: asus-wmi.c: Cleaning up uninitialized variables

There is a risk that the variable will be used without being initialized.

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: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/asus-wmi.c