| Return-Path: <SRS0=87nF=CT=vger.kernel.org=linux-kernel-owner@kernel.org> | |
| From: Dev Eloper <dev@example.org> | |
| To: <linux-kernel@vger.kernel.org> | |
| Subject: [PATCH] drm: xlnx: remove defined but not used 'scaling_factors_666' | |
| Date: Thu, 10 Sep 2020 22:06:30 +0800 | |
| Message-ID: <patch-attestation-examples-unsigned@example.org> | |
| X-Mailer: git-send-email 2.25.4 | |
| MIME-Version: 1.0 | |
| Content-Type: text/plain; charset="UTF-8" | |
| Content-Transfer-Encoding: 8bit | |
| X-Developer-Signature: v=1; a=ed25519-sha256; h=from:subject:date:message-id; | |
| l=1003; bh=Pfwl/zDlAoe9nkYNQPcgDFscfSQdrGvx4kAzrnQdNQ8=; | |
| b=WyAu9nzYMUg2ntOfnvEBpa1vLQemK7axjAVu+hhYh6VyeFmB5jKzC2TcF+2IOjfG3eGl/XNY0EWc | |
| HUh2tF02AQwiKDVDG7mTmP1/SPpNvotD0mTWQk6LyltWKFBUpRhn | |
| This addresses the following gcc warning with "make W=1": | |
| drivers/gpu/drm/xlnx/zynqmp_disp.c:245:18: warning: | |
| ‘scaling_factors_666’ defined but not used [-Wunused-const-variable=] | |
| 245 | static const u32 scaling_factors_666[] = { | |
| | ^~~~~~~~~~~~~~~~~~~ | |
| Signed-off-by: Dev Eloper <dev@example.org> | |
| --- | |
| drivers/gpu/drm/xlnx/zynqmp_disp.c | 6 ------ | |
| 1 file changed, 6 deletions(-) | |
| diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c | |
| index a455cfc1bee5..98bd48f13fd1 100644 | |
| --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c | |
| +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c | |
| @@ -242,12 +242,6 @@ static const u32 scaling_factors_565[] = { | |
| ZYNQMP_DISP_AV_BUF_5BIT_SF, | |
| }; | |
| -static const u32 scaling_factors_666[] = { | |
| - ZYNQMP_DISP_AV_BUF_6BIT_SF, | |
| - ZYNQMP_DISP_AV_BUF_6BIT_SF, | |
| - ZYNQMP_DISP_AV_BUF_6BIT_SF, | |
| -}; | |
| - | |
| static const u32 scaling_factors_888[] = { | |
| ZYNQMP_DISP_AV_BUF_9BIT_SF, | |
| ZYNQMP_DISP_AV_BUF_8BIT_SF, | |
| -- | |
| 2.25.4 | |