[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230807062036.7006-1-guozihua@huawei.com>
Date: Mon, 7 Aug 2023 14:20:36 +0800
From: GUO Zihua <guozihua@...wei.com>
To: <anitha.chrisanthus@...el.com>, <edmund.j.dea@...el.com>
CC: <airlied@...il.com>, <daniel@...ll.ch>,
<dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH -next v2] drm/kmb: Remove unused variable layer_irqs
layer_irqs does not seems to have any user. So remove it completely.
This resolves sparse warning:
warning: symbol 'layer_irqs' was not declared. Should it be static?
Signed-off-by: GUO Zihua <guozihua@...wei.com>
---
v2:
V1 is titled "drm/kmb: Make layer_irqs static". This patch removes
layer_irqs completely as there does not seems to be a user for it.
---
drivers/gpu/drm/kmb/kmb_plane.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb/kmb_plane.c
index 9e0562aa2bcb..5a8c7cbf27b0 100644
--- a/drivers/gpu/drm/kmb/kmb_plane.c
+++ b/drivers/gpu/drm/kmb/kmb_plane.c
@@ -17,13 +17,6 @@
#include "kmb_plane.h"
#include "kmb_regs.h"
-const u32 layer_irqs[] = {
- LCD_INT_VL0,
- LCD_INT_VL1,
- LCD_INT_GL0,
- LCD_INT_GL1
-};
-
/* Conversion (yuv->rgb) matrix from myriadx */
static const u32 csc_coef_lcd[] = {
1024, 0, 1436,
--
2.17.1
Powered by blists - more mailing lists