usb: chipidea: remove zero check of hw_ep_max
authorRichard Zhao <richard.zhao@freescale.com>
Tue, 15 May 2012 13:58:18 +0000 (21:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2012 15:43:40 +0000 (08:43 -0700)
commit09c94e628ac3f871f06eaa7a5be266ca1aaa75a1
tree5e7a06cae3dd8c2fd5eae05575193e5f614b1894
parenta756186b61d487c067411764080fd48f995d3799
usb: chipidea: remove zero check of hw_ep_max

It's 0 for host only device.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c