]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vt6656: move local var init into declaration
authorAlison Schofield <amsfield22@gmail.com>
Fri, 12 Feb 2016 18:44:43 +0000 (10:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:25:38 +0000 (16:25 -0800)
commitb9183fdd4121c2480855b6ded32cdd359ad6b710
tree6537df5f6bca9c25af741232ec7a62b635f7252a
parent3e0f86b337090ec9040b68e398a85be00ddee4bc
staging: vt6656: move local var init into declaration

Improve readability by initializing local variables at declaration.

In one instance, vnt_start_interrupt_urb_complete(), also use that
local variable in subsequent switch.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/usbpipe.c