]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/usb/mon/mon_bin.c
USB: mon_bin.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:32:56 +0000 (11:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:11 +0000 (16:01 +0200)
commit0296951a62bb863008821b33343cff446fce4b84
tree685dc889e976723e028cd86690d57f664cbe857e
parent925f0042cf2058cd3929c9c49593fba7750ffe8d
USB: mon_bin.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_bin.c