Re: [PATCH] driver-core: remove the duplicate assignment ofkobj->parent in device_add

From: Greg KH
Date: Fri Jan 25 2013 - 15:32:47 EST


On Wed, Jan 23, 2013 at 01:58:30PM +0800, Wei Yang wrote:
> kobject_add() will setup the kobject parent correctly.

How so?

> This patch removes the redundant code.

I don't know, how is it redundant? What is this causing? Is it somehow
slowing things down?

> Tested on Lenovo T420.

How?

I don't know about this patch, sorry.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/