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 <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/comedi/drivers/s626.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/comedi/drivers/s626.c 
b/drivers/staging/comedi/drivers/s626.c
index 0b89737..6f1705b 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);
 
-- 
1.7.11

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to