Commit b7eaf21a authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: s626: remove unneeded clear of private data

The private data is kzalloc'ed. All the variables in it are
initially '0'.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 80ec9510
...@@ -2848,9 +2848,6 @@ static int s626_attach_pci(struct comedi_device *dev, struct pci_dev *pcidev) ...@@ -2848,9 +2848,6 @@ static int s626_attach_pci(struct comedi_device *dev, struct pci_dev *pcidev)
s->maxdata = 0xffffff; s->maxdata = 0xffffff;
s->range_table = &range_unknown; s->range_table = &range_unknown;
/* stop ai_command */
devpriv->ai_cmd_running = 0;
s626_initialize(dev); s626_initialize(dev);
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment