]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_daq_700: Remove unneeded variables from the boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 22 Jun 2012 23:21:55 +0000 (16:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:55:06 +0000 (20:55 -0700)
commit5802abee3dae7dff51d07242dde181828f766af7
tree5a1c7266e466d8f8f45934c4029ffc5f0c4ffa57
parent96be22047c09ebb21f72789d3262f116429f05e7
staging: comedi: ni_daq_700: Remove unneeded variables from the boardinfo

The 'device_id' and 'have_dio' variables in the boardinfo struct are
initialized but not referenced in the driver. Just remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_daq_700.c