aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2016-07-06 06:01:19 -0300
committerMauro Carvalho Chehab <[email protected]>2016-07-13 15:06:29 -0300
commit19e565397cb92b0484c46c48498e0fe2d2491efa (patch)
tree25ca079ed0358d56685db0028977f41043d94db5 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7fe579d29f66e7dee77c50f39947a70a74929f4f (diff)
[media] lirc_dev: simplify if statement in lirc_add_to_buf
The whole function is inside an 'if' statement ("if (ir->d.add_to_buf)"). Check the opposite of that statement at the beginning and exit, this way we can have one level less of indentation. Signed-off-by: Andi Shyti <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions