]> git.karo-electronics.de Git - linux-beck.git/commit
USB: usbatm.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:33:05 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:12 +0000 (16:01 +0200)
commitf354c8456507e552d86acce84a7abd9bf480c382
treec90ee243f0718b7f3a845c63325c4c18d95ded16
parent3383ee4c3abf2efa419ac9c78f097ea1087a4e8e
USB: usbatm.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.

CC: Duncan Sands <duncan.sands@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/usb/atm/usbatm.c