[PATCH 00/10] Address some clang W=1 warnings
From: Mauro Carvalho Chehab
Date: Mon Nov 22 2021 - 04:26:20 EST
Clang is more pedantic than gcc with W=1. This is currently causing
builder.linuxtv.org errors due to CONFIG_WERROR.
Address some of those.
Mauro Carvalho Chehab (10):
media: cx25821: drop duplicated i2c_slave_did_ack()
media: ivtv: drop an unused macro
media: cx18: drop an unused macro
media: stb6100: mark a currently unused function as such
media: mc: mark a debug function with __maybe_unused
media: dvb-core: dvb_frontend: address some clang warnings
media: cx25840: drop some unused inline functions
media: marvell-ccic: drop to_cam() unused function
media: omap3isp: mark isp_isr_dbg as __maybe_unused
media: omap3isp: avoid warnings at IS_OUT_OF_BOUNDS()
drivers/media/dvb-core/dvb_frontend.c | 13 +++++-------
drivers/media/dvb-frontends/stb6100.c | 2 +-
drivers/media/i2c/cx25840/cx25840-ir.c | 20 -------------------
drivers/media/mc/mc-entity.c | 2 +-
drivers/media/pci/cx18/cx18-alsa-main.c | 6 ------
drivers/media/pci/cx25821/cx25821-core.c | 7 -------
drivers/media/pci/ivtv/ivtv-alsa-main.c | 6 ------
.../media/platform/marvell-ccic/cafe-driver.c | 7 -------
drivers/media/platform/omap3isp/isp.c | 3 ++-
drivers/media/platform/omap3isp/isph3a_af.c | 2 +-
10 files changed, 10 insertions(+), 58 deletions(-)
--
2.33.1