usb: class: usbtmc.c: Cleaning up uninitialized variables
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 1 Jun 2014 13:43:19 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 22:59:10 +0000 (15:59 -0700)
commitab53eb97369a4fb19c3ba7b827b949c1015bc948
tree768b75b1e2849e477e70dec1ba7a957428b353f8
parent53dbcb399b22dad14becb2557a1ebea258ac266d
usb: class: usbtmc.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c