OSDN Git Service

usb: gadget: udc: s3c2410: 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:27 +0000 (10:38 +0200)
commit1e1eea0eeb39801a32103b948d02e4d811b92fd2
treea35988602af2632efa15d87c96785a4363570e06
parent090bdb5c1f9c46fb6e08af583ef3ee270ed34072
usb: gadget: udc: s3c2410: 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/udc/s3c2410_udc.c