Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 74c3dea3 authored by Rusty Russell's avatar Rusty Russell
Browse files

params: suppress unused variable error, warn once just in case code changes.



It shouldn't fail due to OOM (it's boot time), and already warns if we
get two identical names.  But you never know what the future holds, and
WARN_ON_ONCE() keeps gcc happy with minimal code.

Reported-by: default avatarLouis Langholtz <lou_langholtz@me.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent b6c09b51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment