diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-24 13:24:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 09:37:31 -0700 |
commit | b7eaf21a6709fb1dd1659dd0e56ce665375ba538 (patch) | |
tree | 61706e01de58034692466ea149299b19d18f4905 /drivers/staging/comedi | |
parent | 80ec9510296224048021793b644eb9057c59df5a (diff) | |
download | talos-obmc-linux-b7eaf21a6709fb1dd1659dd0e56ce665375ba538.tar.gz talos-obmc-linux-b7eaf21a6709fb1dd1659dd0e56ce665375ba538.zip |
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r-- | drivers/staging/comedi/drivers/s626.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index cbae8e4ba2e2..f4251acd9cc9 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -2848,9 +2848,6 @@ static int s626_attach_pci(struct comedi_device *dev, struct pci_dev *pcidev) s->maxdata = 0xffffff; s->range_table = &range_unknown; - /* stop ai_command */ - devpriv->ai_cmd_running = 0; - s626_initialize(dev); return 1; |