linux-next: build warning in Linus' tree

From: Stephen Rothwell
Date: Tue Mar 23 2021 - 01:53:02 EST


Hi all,

Building Linus' tree, today's linux-next build (x86_64 allnoconfig)
produced this warning:

kernel/static_call.c: In function '__static_call_update':
kernel/static_call.c:153:18: warning: unused variable 'mod' [-Wunused-variable]
153 | struct module *mod = site_mod->mod;
| ^~~

Introduced by commit

698bacefe993 ("static_call: Align static_call_is_init() patching condition")

--
Cheers,
Stephen Rothwell

Attachment: pgpAOq39PmXl9.pgp
Description: OpenPGP digital signature