diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-28 18:23:56 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-30 19:39:41 +0300 |
commit | abefe12a2f3b1cd701158d6bd6a826e057dec2b4 (patch) | |
tree | f50004281e61e615203dd3aec87b357b7d130a65 /drivers/media/radio | |
parent | 1ed991a9fe8278b529510850accdea6dea596d0f (diff) | |
download | linux-abefe12a2f3b1cd701158d6bd6a826e057dec2b4.tar.xz |
[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