summaryrefslogtreecommitdiff
path: root/include/linux/trace_clock.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-06-25 17:17:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-26 15:35:22 -0700
commite05b98b6425d46e7a0f77d16499407f6df35427f (patch)
treefb3d35146cefa9c2a8ef0be115f91b6a36610358 /include/linux/trace_clock.h
parentcf2592d06a4e37f98eba17d1abe32af7fe521d19 (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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/trace_clock.h')
0 files changed, 0 insertions, 0 deletions