OSDN Git Service

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)
commitba0333ead10246535134cb4a552c79b56e6a4894
tree5a1c7266e466d8f8f45934c4029ffc5f0c4ffa57
parent5956703960aceff6340ca569d4dcc80f2045bf20
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