staging: comedi: ni_daq_700: Remove unused variables from the boardinfo
PATCH 12/31 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 <[email protected]>
Cc Ian Abbott <[email protected]>
Cc Frank Mori Hess <[email protected]>
Cc Greg Kroah-hartman <[email protected]>
--- drivers/staging/comedi/drivers/ni_daq_700.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/staging/comedi/drivers/ni_daq_700.c +0 -4
@@ -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[] = {
Signature · 1 line
1.7.11