aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2018-05-10 06:55:15 -0400
committerMauro Carvalho Chehab2018-05-10 06:55:15 -0400
commit3b7158d61a27b7701356969c6fed353a7c67b45e (patch)
tree515516e63da261c9804024e87b9749f73da6eee8 /drivers/media/tuners
parente280edff3308602922d623e15bae473152869eba (diff)
qm1d1b0004: fix a warning about an unused default_cfg var
As warned by gcc: drivers/media/tuners/qm1d1b0004.c:62:39: warning: 'default_cfg' defined but not used [-Wunused-const-variable=] static const struct qm1d1b0004_config default_cfg = { ^~~~~~~~~~~ This var is currently unused. So, comment it out. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r--drivers/media/tuners/qm1d1b0004.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/tuners/qm1d1b0004.c b/drivers/media/tuners/qm1d1b0004.c
index 9dac1b875c18..b4495cc1626b 100644
--- a/drivers/media/tuners/qm1d1b0004.c
+++ b/drivers/media/tuners/qm1d1b0004.c
@@ -59,10 +59,12 @@
#define QM1D1B0004_XTL_FREQ 4000
#define QM1D1B0004_LPF_FALLBACK 30000
+#if 0 /* Currently unused */
static const struct qm1d1b0004_config default_cfg = {
.lpf_freq = QM1D1B0004_CFG_LPF_DFLT,
.half_step = false,
};
+#endif
struct qm1d1b0004_state {
struct qm1d1b0004_config cfg;