diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-22 09:34:26 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-29 10:14:34 +0100 |
commit | a62d2f710799263709db82f251e30c73886cc3af (patch) | |
tree | 0f15b855524ef86a842c41e069a083aa34b36464 | |
parent | media: cx18: drop an unused macro (diff) | |
download | linux-a62d2f710799263709db82f251e30c73886cc3af.tar.xz linux-a62d2f710799263709db82f251e30c73886cc3af.zip |
media: stb6100: mark a currently unused function as such
The stb6100_normalise_regs() function is not used with current
boards, but the driver says that some devices could need it.
Ok, we could simply drop it, but as there's a macro to mark
unused functions, use it.
This should shut up a clang warning.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r-- | drivers/media/dvb-frontends/stb6100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/stb6100.c b/drivers/media/dvb-frontends/stb6100.c index d541d6613610..698866c4f15a 100644 --- a/drivers/media/dvb-frontends/stb6100.c +++ b/drivers/media/dvb-frontends/stb6100.c @@ -110,7 +110,7 @@ static const struct stb6100_regmask stb6100_template[] = { /* * Currently unused. Some boards might need it in the future */ -static inline void stb6100_normalise_regs(u8 regs[]) +static __always_unused inline void stb6100_normalise_regs(u8 regs[]) { int i; |