All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: unlisted-recipients:; (no To-header on input)@casper.infradead.org
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH 12/19] drxj: comment out the unused nicam_presc_table_val table
Date: Fri, 24 Jun 2016 12:31:53 -0300	[thread overview]
Message-ID: <01d7d436c600904edc8c521c74f1b22a8284e25b.1466782238.git.mchehab@s-opensource.com> (raw)
In-Reply-To: <cover.1466782238.git.mchehab@s-opensource.com>
In-Reply-To: <cover.1466782238.git.mchehab@s-opensource.com>

Avoid this warning:

drivers/media/dvb-frontends/drx39xyj/drxj.c:1243:18: warning: 'nicam_presc_table_val' defined but not used [-Wunused-const-variable=]
 static const u16 nicam_presc_table_val[43] = {
                  ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
 drivers/media/dvb-frontends/drx39xyj/drxj.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index e48b741d439e..bd6d2ee0f7c9 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -1240,12 +1240,15 @@ static u32 frac_times1e6(u32 N, u32 D)
 *        and rounded. For calc used formula: 16*10^(prescaleGain[dB]/20).
 *
 */
+#if 0
+/* Currently, unused as we lack support for analog TV */
 static const u16 nicam_presc_table_val[43] = {
 	1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4,
 	5, 5, 6, 6, 7, 8, 9, 10, 11, 13, 14, 16,
 	18, 20, 23, 25, 28, 32, 36, 40, 45,
 	51, 57, 64, 71, 80, 90, 101, 113, 127
 };
+#endif
 
 /*============================================================================*/
 /*==                        END HELPER FUNCTIONS                            ==*/
-- 
2.7.4



  parent reply	other threads:[~2016-06-24 15:32 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 15:31 [PATCH 00/19] Fix new warnings detected by GCC 6.1 Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 01/19] usbvision: remove some unused vars Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 02/19] exynos4-is: " Mauro Carvalho Chehab
2016-06-24 15:31   ` Mauro Carvalho Chehab
2016-06-24 15:31   ` Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 03/19] cx18: use macros instead of static const vars Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 04/19] m5602_core: move skeletons to the .c file Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 05/19] m5602_s5k4aa: " Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 06/19] m5602_mt9m111: " Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 07/19] m5602_ov9650: " Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 08/19] m5602_s5k83a: " Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 09/19] m5602_po1030: " Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 10/19] m5602_ov7660: " Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 11/19] cx25821-alsa: shutup a Gcc 6.1 warning Mauro Carvalho Chehab
2016-06-24 17:38   ` Luis de Bethencourt
2016-06-24 20:10     ` Mauro Carvalho Chehab
2016-06-24 15:31 ` Mauro Carvalho Chehab [this message]
2016-06-24 15:31 ` [PATCH 13/19] dib0090: comment out the unused tables Mauro Carvalho Chehab
2016-06-26 21:30   ` Patrick Boettcher
2016-06-24 15:31 ` [PATCH 14/19] r820t: comment out two ancillary tables Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 15/19] zr36016: remove some unused tables Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 16/19] vivid: remove some unused vars Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 17/19] em28xx-dvb: remove some left over Mauro Carvalho Chehab
2016-06-24 15:31 ` [PATCH 18/19] adv7842: comment out a table useful for debug Mauro Carvalho Chehab
2016-06-24 15:32 ` [PATCH 19/19] bdisp: move the V/H filter spec to bdisp-hw.c Mauro Carvalho Chehab
2016-06-27 12:03   ` Fabien DESSENNE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01d7d436c600904edc8c521c74f1b22a8284e25b.1466782238.git.mchehab@s-opensource.com \
    --to=mchehab@s-opensource.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.