Skip to content
Commit 1ba5c08b authored by Corentin Labbe's avatar Corentin Labbe Committed by Jessica Yu
Browse files

kernel/module.c: suppress warning about unused nowarn variable



This patch fix the following warning:
kernel/module.c: In function 'add_usage_links':
kernel/module.c:1653:6: warning: variable 'nowarn' set but not used [-Wunused-but-set-variable]

[jeyu: folded in first patch since it only swapped the function order
so that del_usage_links can be called from add_usage_links]
Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarJessica Yu <jeyu@kernel.org>
parent 3e2e857f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment