aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2016-03-22 11:10:11 -0700
committerGreg Kroah-Hartman <[email protected]>2016-03-28 07:30:36 -0700
commit22acd860137ad6952fec8f6041efa9a30e49c22d (patch)
treea5490b2cc2c43e5a202727e5924da2d9efd72a1c /tools/perf/scripts/python/syscall-counts.py
parent8dc5fb4e0eb8802ff0615b0fde92f43f3bd5d56d (diff)
staging: comedi: ni_660x: change IOConfigReg() into a macro
The BUG_ON() in this function is unnecessary. The 'pfi_channel' will always be in range of the subdevice 'n_chan' (NUM_PFI_CHANNELS) which will return a valid 'reg'. Convert the inline function into a simple macro. 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions