From: H Hartley Sweeten Date: Mon, 24 Sep 2012 20:38:53 +0000 (-0700) Subject: staging: comedi: s626: remove clear of kzalloc'ed data X-Git-Tag: firefly_0821_release~3680^2~1977^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=98667bf7cc930c56f9257a8296d27a78eebac43f;p=firefly-linux-kernel-4.4.55.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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);