USB: mon_stat.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:32:58 +0000 (11:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:11 +0000 (16:01 +0200)
commit4c08ccf0dc50a7a4e8d1ddc41e9e6d5d25aacdc1
tree0b4dd7cfbd124f9163a56e2cb93fb32ea7d13e6b
parentd4950d5dab78a78c90c0c5cd6113af28cbac516f
USB: mon_stat.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/mon/mon_stat.c