]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
media: usb: uvc: 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:22 +0000 (10:38 +0200)
commit670216f4d38bb128aa525450fe6ff9a5b3a2b8b0
tree60cf05da7490692f8f7df182177a77a7b1042551
parent734d3ddd81902d839e5bba50601b011f6ae40d05
media: usb: uvc: remove unnecessary & operation

Now that usb_endpoint_maxp() only returns the lowest
11 bits from wMaxPacketSize, we can remove the &
operation from this driver.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: <linux-media@vger.kernel.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/media/usb/uvc/uvc_video.c