summaryrefslogtreecommitdiff
path: root/drivers/media/platform/coda/coda-bit.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-06-23 07:57:27 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-07-19 15:19:10 -0400
commit9c2a4559435e2915209fd9588253111ee1dc2f7a (patch)
tree3b747f64aabbf2ab07e59799178738fb0a9c8a25 /drivers/media/platform/coda/coda-bit.c
parent462e8ce009cba0da6c636d245678a7f80d660769 (diff)
downloadlinux-9c2a4559435e2915209fd9588253111ee1dc2f7a.tar.gz
linux-9c2a4559435e2915209fd9588253111ee1dc2f7a.tar.xz
media: coda: do not reassign ctx->tiled_map_type in coda_s_fmt
This smatch warning: coda/coda-common.c:706 coda_s_fmt() warn: missing break? reassigning 'ctx->tiled_map_type' can be silenced by moving the ctx->tiled_map_type assignment into the breakout condition. That way the field is not reassigned when falling through to the next switch statement. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/coda/coda-bit.c')
0 files changed, 0 insertions, 0 deletions