]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: comedidev.h: remove 'new_size' param from subdevice (*buf_change)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 21 Jul 2014 18:48:32 +0000 (11:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 22:33:23 +0000 (15:33 -0700)
commitd546b8966e66b114809d4af14e2d837adeeec2fc
tree134081253fdfd5fc938fd2e3ff4020a63aeb67cc
parent57a4f4cf409261b0330df909ad6fdb85cb096467
staging: comedi: comedidev.h: remove 'new_size' param from subdevice (*buf_change)

This parameter is never used by any of the comedi drivers that provide a
(*buf_change) callback. If the 'new_size' is needed in the callback it can
be found from the 's->async->prealloc_bufsz' as done in the ni_pcidio driver.

Remove the unused parameter.

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/comedi_fops.c
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers.c
drivers/staging/comedi/drivers/ni_660x.c
drivers/staging/comedi/drivers/ni_pcidio.c
drivers/staging/comedi/drivers/ni_pcimio.c