]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: adv_pci1710: remove 'ai_data_len' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 23 Apr 2014 23:06:57 +0000 (16:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:07:40 +0000 (15:07 -0700)
commit4b1fea003cdfb4ebe0764b484f1f808b7e2e5071
tree936f2911cd8acb2f0636ba07fc39b458954893a8
parent07d93d1a9d4417f990d6f510491401f572a81a38
staging: comedi: adv_pci1710: 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/adv_pci1710.c