Re: [PATCH 0/3] usb: remove duplicate & operation

2017-10-20 Thread Felipe Balbi
Lukasz Majewski writes: > Hi Jaejoong, > >> usb_endpoint_maxp() has an inline keyword and searches for bits[10:0] >> by & operation with 0x7ff. So, we can remove the duplicate & operation >> with 0x7ff. >> >> Jaejoong Kim (3): >> usb: gadget: udc: remove duplicate & operation

Re: [PATCH 0/3] usb: remove duplicate & operation

2017-10-20 Thread Lukasz Majewski
Hi Jaejoong, > usb_endpoint_maxp() has an inline keyword and searches for bits[10:0] > by & operation with 0x7ff. So, we can remove the duplicate & operation > with 0x7ff. > > Jaejoong Kim (3): > usb: gadget: udc: remove duplicate & operation > usb: gadget: udc: gr: remove duplicate &

[PATCH 0/3] usb: remove duplicate & operation

2017-10-20 Thread Jaejoong Kim
usb_endpoint_maxp() has an inline keyword and searches for bits[10:0] by & operation with 0x7ff. So, we can remove the duplicate & operation with 0x7ff. Jaejoong Kim (3): usb: gadget: udc: remove duplicate & operation usb: gadget: udc: gr: remove duplicate & operation usb: misc: usbtest: