lkml.org 
[lkml]   [2021]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: [PATCH] kobject: kobject_add_internal cleanup
On Fri, Jul 30, 2021 at 06:48:23AM +0200, Greg KH wrote:
> On Fri, Jul 30, 2021 at 12:44:26AM +0800, qiaoyanbo_310 wrote:
> > Hi Greg KH,
>
> Sorry, but html email is rejected by the mailing lists. Please try
> again after fixing up your email client, and I will be glad to respond.
>
> thanks,
>
> greg k-h

(Sorry, this is the first time I use the mutt environment to send mail,
shamed on me I know~)

>Why is this a problem? What bug is this solving? Is the code somehow
>now faster or smaller that can be measured?

I don't think the logic of the original code is self consistent.
This is not a bug, but it causes some unnecessary assignment operations.
This patch is to clean unnecessary assignment operations.

Thanks,
Qiao Yanbo

\
 
 \ /
  Last update: 2021-07-30 14:48    [W:0.073 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site