aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-04-22 18:34:35 -0700
committerGreg Kroah-Hartman <[email protected]>2013-04-23 10:41:39 -0700
commit2bc405831d5bd83f263c2a0eac915ba5292d4cbe (patch)
tree130b52a789e5e677f6b2061d9960794b8cda64ff /net/lapb/lapb_in.c
parent808cea5a5d538d787f42e2ec48527bfb7e830490 (diff)
staging: comedi: das800: tidy up das800_ai_do_cmdtest()
For aesthetic reasons, move some of the local variables to the place they are actually used. Also, rename the CamelCase 'startChan' local variable. Remove the unnecessary '()' around the variables passed in the i8253_cascade_ns_to_timer_2div() call. Add a local variable, 'next', to hold the cmd->chanlist[i] value used in the loop that checks the channel/gain list. Replace the comedi_error() with dev_dbg() and shorten the messages a bit. 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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions