]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: pcl818: kzalloc'ed memory does not need to be cleared
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 17 Feb 2014 21:28:01 +0000 (14:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:56:51 +0000 (11:56 -0800)
commit53693d9068735ccb4a2c304f60c88e168895029d
tree58424dd3a7b31a5e0f55dc6728f57f28ef04c158
parentc9968ed9fe88968efa68f5d1a75ab8aa02edac1c
staging: comedi: pcl818: kzalloc'ed memory does not need to be cleared

The private data is kzalloc'ed in the (*attach). There is no need to
initialize and the members to 0.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl818.c