aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-01-15 13:55:35 +0000
committerGreg Kroah-Hartman <[email protected]>2020-01-16 20:59:53 +0100
commit2f5fd8b07745838e590b61d5b136be8b9f94cc4c (patch)
tree64522d1e07d340d1eb08fc824f8b2d18525bed05 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent5244357961a422100b73a9da423532578579324a (diff)
staging: wfx: simplify wfx_tx_queue_get_num_queued()
wfx_tx_queue_get_num_queued() can take advantage of BIT() instead of maintaining one variable for a counter and another for a mask. In add, wfx_tx_queue_get_num_queued() has no real reason to return a size_t instead of an int. Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions