]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: udc: bdc: 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:25 +0000 (10:38 +0200)
commitcc2e895c604c480b7bc9603bc51963158bdb3b8c
treecc157bcfd5964168190f96e64039cf72565a8d5a
parent44fbbf1f837f99cae0970bd72fefd72d90d73016
usb: gadget: udc: bdc: 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: Ashwini Pahuja <ashwini.linux@gmail.com>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/bdc/bdc_ep.c