summaryrefslogtreecommitdiff
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-28 12:23:56 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-30 13:39:41 -0300
commitabefe12a2f3b1cd701158d6bd6a826e057dec2b4 (patch)
treef50004281e61e615203dd3aec87b357b7d130a65 /drivers/media/radio
parent1ed991a9fe8278b529510850accdea6dea596d0f (diff)
[media] ir-sony-decoder: shutup smatch warnings
There are some false-positive warnings produced by smatch: drivers/media/rc/ir-sony-decoder.c:129 ir_sony_decode() warn: missing break? reassigning 'data->state' drivers/media/rc/ir-sony-decoder.c:137 ir_sony_decode() warn: missing break? reassigning 'data->state' drivers/media/rc/ir-sony-decoder.c:165 ir_sony_decode() warn: missing break? reassigning 'data->state' This is due to the logic used there to detect the need of a break. While those are false positives, it is easy to get rid of them without any drawbacks. The side effect is a cleaner function, with is good. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/radio')
0 files changed, 0 insertions, 0 deletions