]> git.karo-electronics.de Git - linux-beck.git/commit
USB: ehci-dbg.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:32:50 +0000 (11:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 14:01:10 +0000 (16:01 +0200)
commit911fdb6ecad37cf64cbc46d839afb7973fc36a12
tree849e543083c68185b108d45619a2d41f239a8242
parent424dd7dd9b48691c1bb57440493590c012199a95
USB: ehci-dbg.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.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/ehci-dbg.c