OSDN Git Service

media: solo6x10: mark unused functions as such
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 24 Nov 2021 11:21:47 +0000 (11:21 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 29 Nov 2021 12:23:14 +0000 (13:23 +0100)
commit02d6276f10082a6b1277fbd8a9909929cabf759e
tree7200bcdc2b9a956be12b86729d84125d97f0fa6d
parent68cfde02cc21045708ad1ebe604527ec18d5e01c
media: solo6x10: mark unused functions as such

There are several unused helper macros there, meant to parse some
fields. As those actually help to document the hardware, the
better is to keep them.

However, it generates clang warnings with W=1, causing build to
break with CONFIG_WERROR.

So, add __always_unused to fix such warnings.

Acked-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c