mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3d5df65076
commit
2943de6ad5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user