commit | 6464e2ff4303108b20fc60c45e843c95f314a814 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Dec 03 12:07:21 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 04 15:25:31 2013 -0800 |
tree | 9140d67f72f34bd361f340b4bbf586c47ef9ee04 | |
parent | e4bfb085ed75ba3553b6621b67ed80550dcfdac3 [diff] |
staging: comedi: pcl818: remove unnecessary s->len_chanlist init The subdevice 'len_chanlist' member is only used with async command support. Remove the initialization of this member for the subdevices that do not support commands. The core will then correctly initialize it to the default value of '1'. 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>