commit | 74c3dea355245c17ee407a3ce3ea34f55b40f2eb | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Jun 17 06:16:52 2015 +0930 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Jun 23 15:27:37 2015 +0930 |
tree | ca68b882f14d82c132395e165c303782ed32e220 | |
parent | b6c09b512dc0c5f62a4cc40184f5de749e90fdac [diff] |
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: Louis Langholtz <lou_langholtz@me.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>