Re: [PATCH] ubifs: remove unnecessary kobject_del()

From: Zhihao Cheng
Date: Thu Apr 06 2023 - 08:29:26 EST


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.