aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-04-22 18:36:28 -0700
committerGreg Kroah-Hartman <[email protected]>2013-04-23 10:41:51 -0700
commit26234771c1a53b0a3bf69c161d79cd37c77ebd1a (patch)
tree2a76c64b5da6959d20f99f60aff3f459df568104 /net/lapb/lapb_in.c
parent264601c231c9c9dec3da2c665c0b9cbec11d8c9e (diff)
staging: comedi: das800: tidy up das800_do_insn_bits()
Use a couple local variables, mask and bits, to clarify this function. Its only necessary to update the outputs if the mask indicates that the bits are changing. Modify this function accordingly. Also, use the subdevice 'state' variable to hold the actual output channel state instead of needing to get it from the private data and shift it. 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