staging: comedi: adl_pci9118: remove 'ai_data_len' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 May 2014 16:35:31 +0000 (09:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:18:53 +0000 (21:18 +0900)
commitcc06e2413114d21045f30545fde573583b8fb024
tree02f41e49b7e2263fecc9d17b5a0f291846604a15
parentb1869854f477e6d4c96cf1fc753f0e6b6fbbe21d
staging: comedi: adl_pci9118: remove 'ai_data_len' from private data

This member of the private data is just a copy of the s->async->prealloc_bufsz.
Use that instead.

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