[media] V4L2: platform: rcar_jpu: remove redundant code
authorMikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
Thu, 1 Oct 2015 12:03:31 +0000 (09:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 19 Nov 2015 10:03:47 +0000 (08:03 -0200)
Remove redundant code. Following code line do what we want.

[mchehab@osg.samsung.com: fix conflict with VB2 split patches that renamed some structs]
Signed-off-by: Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/rcar_jpu.c

index f8e3e83c52a26328177a0d3a4895e271d2cb1c6a..644f9f4907f4f15ce4a6c76d48e58c25e9b1f88b 100644 (file)
@@ -1563,9 +1563,6 @@ static irqreturn_t jpu_irq_handler(int irq, void *dev_id)
                dst_buf->timestamp = src_buf->timestamp;
                if (src_buf->flags & V4L2_BUF_FLAG_TIMECODE)
                        dst_buf->timecode = src_buf->timecode;
-               dst_buf->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
-               dst_buf->flags |= src_buf->flags &
-                                       V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
                dst_buf->flags = src_buf->flags &
                        (V4L2_BUF_FLAG_TIMECODE | V4L2_BUF_FLAG_KEYFRAME |
                         V4L2_BUF_FLAG_PFRAME | V4L2_BUF_FLAG_BFRAME |
This page took 0.025249 seconds and 5 git commands to generate.