lkml.org 
[lkml]   [2013]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] driver-core: remove the duplicate assignment of kobj->parent in device_add
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


\
 
 \ /
  Last update: 2013-01-25 22:22    [W:0.029 / U:3.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site