USB: sisusb_con.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:33:03 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:12 +0000 (16:01 +0200)
commitb87f5671cc76a216465d4e8ba6551991c67e1429
tree36abf9aa924796c4e4b84eb2ec4bab838ffc26df
parent187859f9ce217a56ba7873d1c32562c02ac516fa
USB: sisusb_con.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: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/usb/misc/sisusbvga/sisusb_con.c