Thread (8 messages) 8 messages, 2 authors, 2026-03-20

Re: [PATCH v4 5/5] nfsd: remove obsolete __maybe_unused from variables

From: Andy Shevchenko <hidden>
Date: 2026-03-20 19:17:50
Also in: linux-nfs, lkml

On Sat, Mar 21, 2026 at 02:09:55AM +0800, Sean Chang wrote:
Now that dprintk() has been refactored to use no_printk(), variables
used only for debugging are properly referenced by the compiler even
when CONFIG_SUNRPC_DEBUG is disabled.

Therefore, the __maybe_unused attributes added in commit ebae102897e7
("nfsd: Mark variable __maybe_unused to avoid W=1 build break") are
no longer necessary. This patch removes them to clean up the code.
Just make it a revert: proper Subject like 'Revert: "..."' and
the Git added line "This reverts ...".

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help