aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-10-01 15:10:41 -0700
committerGreg Kroah-Hartman <[email protected]>2013-10-03 14:09:53 -0700
commitc6d9681b40e6dde9f8cbd922efff1f4d5433adc6 (patch)
tree722c1cd51e05f142a1e0ba074d84e0f281ab6348 /tools/perf/scripts/python/net_dropmonitor.py
parente3f6ce205cbdb633df71eab61fbac13dfa466802 (diff)
staging: comedi: ni_6527: tidy up ni6527_di_insn_config()
The core will validate the insn->n value based on the actual instruction (data[0]) that is being handled. Remove the sanity check and change the instruction handling into a switch. This follows the normal format for (*insn_config) functions and make adding additional instructions easier. 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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions