media: uvcvideo: Remove duplicate & operation
authorJaejoong Kim <climbbb.kim@gmail.com>
Fri, 20 Oct 2017 07:25:27 +0000 (03:25 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 16:32:03 +0000 (11:32 -0500)
commit5ba3dff4f3f4b0a3c8775d6ea48c07b11a7ad790
tree1337b3e9279a779de72ffe98d858c97256b1c91c
parente96cdc9a0aa2fcaa276a76e8ffa86fc10a1d3d99
media: uvcvideo: 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>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_video.c