[PATCH] lockdown: remove useless decrement operation
Nicolas Bouchinet
nicolas.bouchinet at oss.cyber.gouv.fr
Tue May 5 09:20:07 UTC 2026
Hi Kalevi,
Thanks for your contribution,
While it is true that the len variable decrement is not used anywhere
and that removing it would be cleaner, this patch does not otherwise
bring any direct benefits.
Ideally we should go through the full Lockdown code to clean it, I'll
include it with Cai's one[1] when a more consequent patch will be ready.
I'll thus keep those somewhere until then.
I have a two week holiday starting this Friday and will thus not be
available until the 26th of may. Xiu, and Cai, if you want to work on it
I'll gladly review the patchset.
Best regards,
Nicolas
[1]: https://lore.kernel.org/all/20260119091226.3195309-1-caixinchen1@huawei.com/
More information about the Linux-security-module-archive
mailing list