All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Wei Yang <weiyang@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] driver-core: remove the duplicate assignment of kobj->parent in device_add
Date: Fri, 25 Jan 2013 12:32:56 -0800	[thread overview]
Message-ID: <20130125203256.GA6374@kroah.com> (raw)
In-Reply-To: <1358920710-23147-1-git-send-email-weiyang@linux.vnet.ibm.com>

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

      reply	other threads:[~2013-01-25 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23  5:58 [PATCH] driver-core: remove the duplicate assignment of kobj->parent in device_add Wei Yang
2013-01-25 20:32 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130125203256.GA6374@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=weiyang@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.