]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: pcl816: kzalloc'ed memory does not need to be cleared
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 19 Feb 2014 17:11:27 +0000 (10:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2014 20:39:38 +0000 (12:39 -0800)
commitefd5b7b5d79010ae147e384185b8ac594d028850
treeb680d8aea03ed95128a4d3ace76954b160c5a66d
parentab3c44fa38b30b990fd1a29e5954b044488ff990
staging: comedi: pcl816: kzalloc'ed memory does not need to be cleared

The private data is kzalloc'ed in the (*attach). There is no need to
initialize any of 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/pcl816.c