usb: mv_udc: Remove QH_MAXNUM macro
authorMarek Vasut <marex@denx.de>
Wed, 10 Jul 2013 01:16:34 +0000 (03:16 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 29 Jul 2013 21:01:32 +0000 (23:01 +0200)
commitf646317739592a67847e0707c5e1072bfafaba7a
tree1ba68383f78aeeb96b480293303620c2c2e4c6d7
parentd76630386d59d203ad4594d7e91be1f2e258ab93
usb: mv_udc: Remove QH_MAXNUM macro

The QH_MAXNUM is used in absolutelly incorrect manner and is not
even needed. Remove it and correctly replace it's occurance with
2 * NUM_ENDPOINTS .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Lei Wen <leiwen@marvell.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
drivers/usb/gadget/mv_udc.c