usb: chipidea: udc: remove unnecessary & operation
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 11:17:38 +0000 (14:17 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:23 +0000 (10:38 +0200)
commit63b9e901e461079f8efe5d7b60ffaa3ce88a0262
treeeb54937109b7ab42d19cc649a10eec52667d74fe
parent670216f4d38bb128aa525450fe6ff9a5b3a2b8b0
usb: chipidea: udc: remove unnecessary & operation

Now that usb_endpoint_maxp() only returns the lowest
11 bits from wMaxPacketSize, we can remove the &
operation from this driver.

Cc: Peter Chen <Peter.Chen@nxp.com>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/chipidea/udc.c