usb: misc: usbtest: remove duplicate & operation
authorJaejoong Kim <climbbb.kim@gmail.com>
Fri, 20 Oct 2017 07:29:15 +0000 (16:29 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 20 Oct 2017 08:19:39 +0000 (11:19 +0300)
commit1c236d411d8b163adca49009857e7c2745185038
tree534bc5db38a3080a38ed7a964f74761d15fd155f
parent7521d47960d6a7f3b5f9f26d4baf5f97e050d7ac
usb: misc: usbtest: remove duplicate & operation

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.

Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/misc/usbtest.c