USB: xusbatm.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:33:08 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:13 +0000 (16:01 +0200)
commitde5198815100a9bcb7b79b4baf2716c37d3fbeeb
treef3cf724ab355d8403d1b53dd98136d097787d101
parentadde04c62886c668d2380186f5e60dc75113b5d0
USB: xusbatm.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.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/usb/atm/xusbatm.c