]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/usb/host/fotg210-hcd.c
usb/host/fotg210: Remove return statement inside if
authorPeter Senna Tschudin <peter.senna@gmail.com>
Sat, 17 Oct 2015 19:28:45 +0000 (21:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:49:50 +0000 (20:49 -0700)
commitffa2366666f06ce1df3296d106d90e0c2e0cd6b7
treeeb452aa25baef1b1d8400cc8234029ee8938a009
parent539669779a8e369912d86dc4048175cc47f20c33
usb/host/fotg210: Remove return statement inside if

This patch make changes to an if else statement which simplifies the code
allowing to remove a return.

CC: Joe Perches <joe@perches.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fotg210-hcd.c