]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/comedi/comedi_fops.c
staging: comedi: remove async parameter from resize_async_buffer()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 2 May 2014 12:50:14 +0000 (13:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:12:17 +0000 (20:12 -0400)
commit482f0a21904583923d5c37f84586839c026a734b
tree4cb63380b25cdc14bc395b01d1c18ce8bb608c78
parent0ce016d0986ae618e0686489ad7b858fa13b885d
staging: comedi: remove async parameter from resize_async_buffer()

The `struct comedi_async *async` parameter of `resize_async_buffer()` is
redundant as its value can be easily derived from the `struct
comedi_subdevice *s` parameter as `s->async`.  Remove the parameter.

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