From: H Hartley Sweeten Date: Thu, 8 Oct 2015 17:48:22 +0000 (-0700) Subject: staging: comedi: dt3000: remove proc subdevice X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2943de6ad54b4a4ecb066f2f8df7c7db0d4c8a99;p=deliverable%2Flinux.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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; }