staging: comedi: icp_multi: remove ranglist_ao from boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 20:47:52 +0000 (13:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 21:03:15 +0000 (14:03 -0700)
This variable is not used by the driver. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/icp_multi.c

index ef2359f148db6940f52711fe5eefd1a06b9e10eb..e7496225f3c1fdd21daa14364a545f2c237e0ed0 100644 (file)
@@ -132,7 +132,6 @@ struct boardtype {
        char cardtype;          /*  0=ICP Multi */
        const struct comedi_lrange *rangelist_ai;       /*  rangelist for A/D */
        const char *rangecode;  /*  range codes for programming */
-       const struct comedi_lrange *rangelist_ao;       /*  rangelist for D/A */
 };
 
 struct icp_multi_private {
@@ -883,7 +882,6 @@ static const struct boardtype boardtypes[] = {
                .cardtype       = TYPE_ICP_MULTI,
                .rangelist_ai   = &range_analog,
                .rangecode      = range_codes_analog,
-               .rangelist_ao   = &range_analog,
        },
 };