summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorH Hartley Sweeten2015-10-08 19:48:22 +0200
committerGreg Kroah-Hartman2015-10-13 07:59:26 +0200
commit2943de6ad54b4a4ecb066f2f8df7c7db0d4c8a99 (patch)
tree0121ff54932569fa47ad553ca06f9df2d485c937 /drivers/staging
parentstaging: comedi: dt3000: tidy up remaining defines (diff)
downloadkernel-qcow2-linux-2943de6ad54b4a4ecb066f2f8df7c7db0d4c8a99.tar.gz
kernel-qcow2-linux-2943de6ad54b4a4ecb066f2f8df7c7db0d4c8a99.tar.xz
kernel-qcow2-linux-2943de6ad54b4a4ecb066f2f8df7c7db0d4c8a99.zip
staging: comedi: dt3000: remove proc subdevice
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/comedi/drivers/dt3000.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/comedi/drivers/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c
index 9ff7e95dc6fe..fdae78d1690d 100644
--- a/drivers/staging/comedi/drivers/dt3000.c
+++ b/drivers/staging/comedi/drivers/dt3000.c
@@ -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;
}