staging: comedi: s626: remove clear of kzalloc'ed data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 Sep 2012 20:38:53 +0000 (13:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:37:32 +0000 (09:37 -0700)
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>
drivers/staging/comedi/drivers/s626.c

index 0b897375eda6ae7dc1e2608a20de193c52298320..6f1705ba60e23e3a88da25dc22fe69a8aa34742d 100644 (file)
@@ -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);