Skip to contentSkip to conversation

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

PATCH In review H Hartley Sweeten 1 participant 1 message Jun 22, 2012 Staging

lore
Share & tools
lore
#0 lore raw

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.

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
index 99ce234d..749bc5a 100644
@@ -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