OSDN Git Service

usb: gadget: udc: net2272: 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:26 +0000 (10:38 +0200)
commit8c683c43fb8fe6549ca8a6527c2b742351d1e6ac
tree38a3ca0d1cb564bee826da73ee7124a7c2e64b7c
parentc2b4d863e1dcb7f5b71926a45ee20de2f2c26cb2
usb: gadget: udc: net2272: 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/net2272.c