staging: comedi: dt3000: remove proc subdevice
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 8 Oct 2015 17:48:22 +0000 (10:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:59:26 +0000 (22:59 -0700)
This subdevice is not allocated or defined in the driver. Remove the
disabled subdevice initialization.

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

index 9ff7e95dc6febac0e441b8abd6311fcfc1611274..fdae78d1690dec82e8b45530b5f54e49de51044f 100644 (file)
@@ -721,12 +721,6 @@ static int dt3000_auto_attach(struct comedi_device *dev,
        s->len_chanlist = 1;
        s->range_table  = &range_unknown;
 
-#if 0
-       s = &dev->subdevices[4];
-       /* proc subsystem */
-       s->type = COMEDI_SUBD_PROC;
-#endif
-
        return 0;
 }