From: Karol Wrona Date: Fri, 19 Dec 2014 17:39:26 +0000 (+0100) Subject: iio: core: Get rid of misleading comment X-Git-Tag: v4.14-rc1~5938^2~245^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20dd20f68f9b41534ba9ebddc4f179d0efbc3c8e;p=platform%2Fkernel%2Flinux-rpi.git iio: core: Get rid of misleading comment This comment did not fit here. It explains why devm_kmalloc uses dr_alloc. Generally is not needed at all. Signed-off-by: Karol Wrona Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index ee442ee..b7a397717 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -1043,7 +1043,6 @@ struct iio_dev *devm_iio_device_alloc(struct device *dev, int sizeof_priv) if (!ptr) return NULL; - /* use raw alloc_dr for kmalloc caller tracing */ iio_dev = iio_device_alloc(sizeof_priv); if (iio_dev) { *ptr = iio_dev;