diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-24 13:38:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 09:37:32 -0700 |
commit | 98667bf7cc930c56f9257a8296d27a78eebac43f (patch) | |
tree | a7229b5eb1a7c52c750f8e4f6f55bdc9644e8f1a /drivers/staging | |
parent | dc598176bbd7dfbcfcd6177d14b10768c59effae (diff) |
staging: comedi: s626: remove clear of kzalloc'ed data
The private data is kzalloc'ed. There is no need to set any
of the initial data to '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')
-rw-r--r-- | drivers/staging/comedi/drivers/s626.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index 0b897375eda6..6f1705ba60e2 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -2665,12 +2665,6 @@ static void s626_initialize(struct comedi_device *dev) for (chan = 0; chan < S626_DAC_CHANNELS; chan++) SetDAC(dev, chan, 0); - /* Init Counter Interrupt enab mask for RDMISC2. This mask is - * applied against MISC2 when testing to determine which timer - * events are requesting interrupt service. - */ - devpriv->CounterIntEnabs = 0; - /* Init counters. */ CountersInit(dev); |