aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-07-17 12:27:31 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-17 18:00:43 -0700
commit2042088cd67d0064d18c52c13c69af2499907bb1 (patch)
tree51e3488f99a3b4ed3480ea798f2e5890344633df /tools/perf/scripts/python/net_dropmonitor.py
parentc72f57377c4168a1aed68b4250a109a2505bdd62 (diff)
staging: comedi: ni_labpc: tidy up labpc_ai_scan_mode()
This function checks the cmd->chanlist to determine the scan mode used to sample the analog inputs. All possible modes are checked so the final pr_err() and return 0 can never be reached. Tidy up the function a bit and remove the unreachable code. Signed-off-by: H Hartley Sweeten <[email protected]> Cc: 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