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: 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>
This commit is contained in:
parent
c0c33f69c0
commit
5956703960
1 changed files with 0 additions and 4 deletions
|
|
@ -62,10 +62,6 @@ struct dio700_board {
|
|||
int device_id; /* device id for pcmcia board */
|
||||
enum dio700_bustype bustype; /* PCMCIA */
|
||||
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[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue