]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: usblp.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:33:06 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:12 +0000 (16:01 +0200)
commit2fcdbdfd77d80a6de6c625b84574b063cad29cc8
tree5b32454de7a47025f101ecb808366f4d62c65a0c
parentf354c8456507e552d86acce84a7abd9bf480c382
USB: usblp.c: move assignment out of if () block

We should not be doing assignments within an if () block
so fix up the code to not do this.

change was created using Coccinelle.

Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/usb/class/usblp.c