diff options
| author | H Hartley Sweeten <[email protected]> | 2012-06-25 17:17:52 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-06-26 15:35:22 -0700 |
| commit | e05b98b6425d46e7a0f77d16499407f6df35427f (patch) | |
| tree | fb3d35146cefa9c2a8ef0be115f91b6a36610358 /tools/perf/scripts/python/syscall-counts.py | |
| parent | cf2592d06a4e37f98eba17d1abe32af7fe521d19 (diff) | |
staging: comedi: cb_das16_cs: cleanup das16cs_ai_rinsn()
Cleanup to analog input read function.
1) Initialize the chan, range, and aref locale variables when
they are declared.
2) Remove need for the static local variable.
3) Remove the unnecessary cast of inw()'s return value.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Frank Mori Hess <[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