diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-06-22 16:21:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-22 20:55:06 -0700 |
commit | ba0333ead10246535134cb4a552c79b56e6a4894 (patch) | |
tree | 5a1c7266e466d8f8f45934c4029ffc5f0c4ffa57 | |
parent | 5956703960aceff6340ca569d4dcc80f2045bf20 (diff) |
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>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_daq_700.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c index 749bc5a8e44..47e8cf4bf4a 100644 --- a/drivers/staging/comedi/drivers/ni_daq_700.c +++ b/drivers/staging/comedi/drivers/ni_daq_700.c @@ -59,25 +59,17 @@ enum dio700_bustype { pcmcia_bustype }; struct dio700_board { const char *name; - int device_id; /* device id for pcmcia board */ enum dio700_bustype bustype; /* PCMCIA */ - int have_dio; /* have daqcard-700 dio */ }; static const struct dio700_board dio700_boards[] = { { .name = "daqcard-700", - /* 0x10b is manufacturer id, 0x4743 is device id */ - .device_id = 0x4743, .bustype = pcmcia_bustype, - .have_dio = 1, }, { .name = "ni_daq_700", - /* 0x10b is manufacturer id, 0x4743 is device id */ - .device_id = 0x4743, .bustype = pcmcia_bustype, - .have_dio = 1, }, }; |