提交 20dd20f6 编写于 作者: K Karol Wrona 提交者: Jonathan Cameron

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: NKarol Wrona <k.wrona@samsung.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 780103fe
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册