public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: usb: remove duplicate & operation
@ 2017-10-20  7:25 Jaejoong Kim
  2017-10-20  7:25 ` [PATCH 1/2] media: usb: uvc: " Jaejoong Kim
  2017-10-20  7:25 ` [PATCH 2/2] media: usb: usbtv: " Jaejoong Kim
  0 siblings, 2 replies; 5+ messages in thread
From: Jaejoong Kim @ 2017-10-20  7:25 UTC (permalink / raw)
  To: Laurent Pinchart, Mauro Carvalho Chehab; +Cc: linux-media, 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 (2):
  media: usb: uvc: remove duplicate & operation
  media: usb: usbtv: remove duplicate & operation

 drivers/media/usb/usbtv/usbtv-core.c | 2 +-
 drivers/media/usb/uvc/uvc_video.c    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-07 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-20  7:25 [PATCH 0/2] media: usb: remove duplicate & operation Jaejoong Kim
2017-10-20  7:25 ` [PATCH 1/2] media: usb: uvc: " Jaejoong Kim
2017-11-06  2:07   ` Jaejoong Kim
2017-11-07 11:36   ` Laurent Pinchart
2017-10-20  7:25 ` [PATCH 2/2] media: usb: usbtv: " Jaejoong Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox