staging: comedi: ni_daq_700: Remove unused variables from the boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 22 Jun 2012 23:20:56 +0000 (16:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:55:06 +0000 (20:55 -0700)
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>
drivers/staging/comedi/drivers/ni_daq_700.c

index 99ce234ddfa92cdf9220e8062d6f58d5615f5fb4..749bc5a8e447a02ef721ac2f85abba8898bf21b8 100644 (file)
@@ -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[] = {