aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2017-05-19 09:05:19 -0300
committerMauro Carvalho Chehab2017-05-19 09:05:19 -0300
commitec33fbd585f76b0803a90ee66804fa6f937dccaa (patch)
treed135793ee2c538bde635f65dbceb16fb55a62a6d /drivers/media/usb/em28xx/em28xx-video.c
parentd0994fe9ba22895e56b943ff3f03f2b39fcaa397 (diff)
[media] s2255drv: avoid a switch fall through
On this driver, it can fall through a switch. I tried to annotate it, in order to shut up a gcc warning, but that didn't work, as the logic there is somewhat complex. So, instead, let's just repeat the code. gcc should likely optimize it anyway, and this makes the code better readable, IMHO. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-video.c')
0 files changed, 0 insertions, 0 deletions