]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: speedtch.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:33:04 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:12 +0000 (16:01 +0200)
commit3383ee4c3abf2efa419ac9c78f097ea1087a4e8e
tree29f9fc4fb77d398aefdd75f01607e30edf50a9ca
parentb87f5671cc76a216465d4e8ba6551991c67e1429
USB: speedtch.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/speedtch.c