staging: comedi: addi_apci_1516: remove setting of s->len_chanlist
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:45:08 +0000 (13:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:54 +0000 (15:12 -0800)
commit308d703ba48ab7f2e16d744d3b8751ab5998ab9e
treec9eae4871a1151011cad289998f9eb359677d36b
parent87450c0271dd9da9242b13fa3ecade3af3d31eb9
staging: comedi: addi_apci_1516: remove setting of s->len_chanlist

This value only has meaning for subdevices that support async commands.
Since this driver does not support async commands on any of its subdevices,
don't bother setting it . The comedi core will detect this and set the
value appropriately.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1516.c