Commit 59567039 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_daq_700: Remove unused variables from the boardinfo

The 'read_byte' and 'write_byte' function pointers in the boardinfo
struct are not referenced in the driver. Just remove them.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c0c33f69
...@@ -62,10 +62,6 @@ struct dio700_board { ...@@ -62,10 +62,6 @@ struct dio700_board {
int device_id; /* device id for pcmcia board */ int device_id; /* device id for pcmcia board */
enum dio700_bustype bustype; /* PCMCIA */ enum dio700_bustype bustype; /* PCMCIA */
int have_dio; /* have daqcard-700 dio */ int have_dio; /* have daqcard-700 dio */
/* function pointers so we can use inb/outb or readb/writeb */
/* as appropriate */
unsigned int (*read_byte) (unsigned int address);
void (*write_byte) (unsigned int byte, unsigned int address);
}; };
static const struct dio700_board dio700_boards[] = { static const struct dio700_board dio700_boards[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment