[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ce162145-e88f-9c5f-6182-4a57e8efd586@huawei.com>
Date: Thu, 6 Apr 2023 20:29:13 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: Yangtao Li <frank.li@...o.com>
CC: <linux-kernel@...r.kernel.org>, <linux-mtd@...ts.infradead.org>,
<richard@....at>
Subject: Re: [PATCH] ubifs: remove unnecessary kobject_del()
Hi,
>> I think we should still reserve the 'redundant' kobject_del(),
>> removing it won't bring any performance improvement.
>
> Since it's redundant, why not to remove it.
>
In my personal view, 'redundant' means removing kobject_del() is okay,
it won't bring any bugs. But removing it won't make code more
readability or gain any performance improvement, so it could be
reserved. Whether to remove kobject_del() depends on UBIFS maintainer, I
just help to check if the modification could affect the normal logic.
Powered by blists - more mailing lists