usb: gadget: composite: 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:24 +0000 (10:38 +0200)
commit9ad587710a2f7704d47ddb49ce60c909be836c2b
treee8c5242d943fb4b8d2ed13b10b2ab6bc9142d467
parent8437ab99a68363a1c56270932f705e56ff2b6b37
usb: gadget: composite: remove unnecessary & operation

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

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/composite.c