Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98667bf7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dc598176
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);