]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f3e0e254b3c98555d3d52716718028671b278c9
tree7200bcdc2b9a956be12b86729d84125d97f0fa6d
parentb6fef52d42b3869960e2f77a78c271e162416026
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