linux/drivers/media/platform/mtk-vcodec
Matthias Kaehlcke 1085cbf271 [media] vcodec: mediatek: Remove double parentheses
The extra pairs of parentheses are not needed and cause clang
warnings like this:

drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
                if ((inst->work_bufs[i].size == 0))
                     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: note: remove extraneous parentheses around the comparison to silence this warning
                if ((inst->work_bufs[i].size == 0))
                    ~                        ^   ~
drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: note: use '=' to turn this equality comparison into an assignment
                if ((inst->work_bufs[i].size == 0))
                                             ^~
                                             =

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-05 15:09:20 -03:00
..
vdec [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
venc [media] vcodec: mediatek: Remove double parentheses 2017-04-05 15:09:20 -03:00
Makefile [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
mtk_vcodec_dec_drv.c [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush 2017-02-03 07:49:24 -02:00
mtk_vcodec_dec_pm.c [media] mtk-vcodec: fix some smatch warnings 2016-10-21 12:09:23 -02:00
mtk_vcodec_dec_pm.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_dec.c [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
mtk_vcodec_dec.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
mtk_vcodec_drv.h [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush 2017-02-03 07:49:24 -02:00
mtk_vcodec_enc_drv.c [media] mtk-vcodec: remove redundant return value check of platform_get_resource() 2017-03-22 11:23:20 -03:00
mtk_vcodec_enc_pm.c [media] vcodec: mediatek: Fix return value check in mtk_vcodec_init_enc_pm() 2016-07-13 08:00:57 -03:00
mtk_vcodec_enc_pm.h
mtk_vcodec_enc.c Linux 4.8 2016-10-05 16:43:53 -03:00
mtk_vcodec_enc.h
mtk_vcodec_intr.c [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_intr.h [media] vcodec:mediatek:code refine for v4l2 Encoder driver 2016-08-24 11:20:50 -03:00
mtk_vcodec_util.c [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_util.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
vdec_drv_base.h [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
vdec_drv_if.c [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
vdec_drv_if.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
vdec_ipi_msg.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
vdec_vpu_if.c [media] mtk-vcodec: fix build warnings without DEBUG 2017-02-08 12:08:20 -02:00
vdec_vpu_if.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
venc_drv_base.h
venc_drv_if.c [media] mtk-vcodec: constify venc_common_if structures 2016-08-24 08:46:19 -03:00
venc_drv_if.h
venc_ipi_msg.h
venc_vpu_if.c [media] mtk-vcodec: fix build warnings without DEBUG 2017-02-08 12:08:20 -02:00
venc_vpu_if.h