Linux 2026 "Spring Cleaning" To Address Some Code Remnants As Far Back As Linux v0.1
Posted by anh0516@reddit | linux | View on Reddit | 6 comments
Posted by anh0516@reddit | linux | View on Reddit | 6 comments
brycesub@reddit
Glasswing findings?
Daktyl198@reddit
Doubt it. These are patches removing unused code paths rather than security issues. AI could have helped identify unused code paths but that’s not what glasswing is for.
Ancient-Opinion9642@reddit
Why bother with AI when the C compiler would drop the code?
Business_Reindeer910@reddit
having unused code is always bad even if never executed.
Daktyl198@reddit
It’ll only drop it if you use LTO. But also, removing unused source helps readability and maintainability of the codebase. It’s like having an API that has 4 different ways of doing something and only 1 of them is the correct way but google searches from different years all give you different results for which is the one to use.
ilep@reddit
Direct link to patch: https://lore.kernel.org/lkml/20260410120044.031381086@kernel.org/