staging: dwc2: fix useless test for non-0
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Mon, 25 Nov 2013 21:42:46 +0000 (13:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 16:31:09 +0000 (08:31 -0800)
commite7e59e11700c04d822a309917c1b7520bb8578c3
tree578b480c71d73c5c641dbd8d5793f41a60377238
parent0b851be2737fa7533facfbf3be46678d180fee80
staging: dwc2: fix useless test for non-0

In dwc2_xfercomp_isoc_split_in(), the function has already exited
if len == 0, so no need to test it again

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd_intr.c