summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-08-17 17:36:47 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 14:58:35 +0200
commit0e41a93380ffc4f75dde31d2c62aaf2c8292bf8e (patch)
treeb9ab711559e3d710658e40b47de507645c179722
parent0f0adbd52a3c0faf0b5d4fbd3f54f4cf576158f9 (diff)
video: tegra: dc: fix gcc-6 compilationApalis_TK1_LinuxImageV2.6.1Beta1_20160929
drivers/video/tegra/dc/dc.c:116:3: error: 'can_filter' defined but not used [-Werror=unused-const-variable=] } can_filter[] = { ^~~~~~~~~~ Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--drivers/video/tegra/dc/dc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 588ef13c3c62..f654ae64a957 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -110,18 +110,6 @@ static struct device_dma_parameters tegra_dc_dma_parameters = {
.max_segment_size = UINT_MAX,
};
-static const struct {
- bool h;
- bool v;
-} can_filter[] = {
- /* Window A has no filtering */
- { false, false },
- /* Window B has both H and V filtering */
- { true, true },
- /* Window C has only H filtering */
- { false, true },
-};
-
#ifdef CONFIG_TEGRA_DC_CMU
static struct tegra_dc_cmu default_cmu = {
/* lut1 maps sRGB to linear space. */