aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2016-04-14 09:57:59 -0700
committerGreg Kroah-Hartman <[email protected]>2016-04-28 22:17:28 -0700
commit0b235d5ce4e084535e27e0416449d3c3b0d133ea (patch)
tree21503805e40b0409ab82c325006b182c0033646e /tools/perf/scripts/python/export-to-postgresql.py
parent73894987d6747f39fe7a08b5b25d33a2883d09e2 (diff)
staging: comedi: ni_mio_common: convert NI_GPCT_SUBDEV to a macro
The 'counter_index' is always in range (0 to < NUM_GPCT, which is 2). For aesthetics, convert this inline function into a macro and remove the BUG() which can never occur. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions