summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2017-03-17 18:01:33 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-05 15:09:20 -0300
commit1085cbf271e4f9fe8c4064877d39335d327e662f (patch)
tree2aa1d533df10da2ac021805b920706ecf464b556 /drivers/media/usb/au0828
parentee8c7cdb876f4a486a620e448e4b299de7df12db (diff)
downloadtalos-op-linux-1085cbf271e4f9fe8c4064877d39335d327e662f.tar.gz
talos-op-linux-1085cbf271e4f9fe8c4064877d39335d327e662f.zip
[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>
Diffstat (limited to 'drivers/media/usb/au0828')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud