aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2016-08-02 02:44:44 -0300
committerMauro Carvalho Chehab <[email protected]>2016-09-22 11:24:28 -0300
commitbacf8351f23cfdccb0cd252e3df0f82871896f9a (patch)
tree3c25935a22acd65cfc9190bf16e5a085da556333 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentd14f291b6280a675b7bf129aa9a2d7a077554a31 (diff)
[media] media: rc: nuvoton: remove usage of b_idx in nvt_get_rx_ir_data
The call to nvt_get_rx_ir_data and nvt_process_rx_ir_data from the ISR is protected with spinlock nvt->lock. Therefore it's guaranteed that nvt->pkts is 0 when entering nvt_get_rx_ir_data (as nvt->pkts is set to 0 at the end of nvt_process_rx_ir_data). Having said that we can remove b_idx. Signed-off-by: Heiner Kallweit <[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