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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: remove duplicate & operation

 drivers/usb/gadget/udc/core.c   | 2 +-
 drivers/usb/gadget/udc/gr_udc.c | 2 +-
 drivers/usb/misc/usbtest.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux