From patchwork Mon Jul 11 15:56:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12913989 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2B934C433EF for ; Mon, 11 Jul 2022 15:56:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B5568F572; Mon, 11 Jul 2022 15:56:47 +0000 (UTC) Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9C2AF8F56D for ; Mon, 11 Jul 2022 15:56:45 +0000 (UTC) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id trwj2700m4C55Sk01rwkx0; Mon, 11 Jul 2022 17:56:44 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oAvm7-003723-K1; Mon, 11 Jul 2022 17:56:43 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oAvm7-006sue-8u; Mon, 11 Jul 2022 17:56:43 +0200 From: Geert Uytterhoeven To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm] util: Remove unused definitions of RED, GREEN, and BLUE Date: Mon, 11 Jul 2022 17:56:41 +0200 Message-Id: <76c3c5d0e44a385f7289a918ca77cc3ca19a9b18.1657554940.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Geert Uytterhoeven , Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" These are unused since commit edcef53685edf5fb ("modetest: Add test pattern support for missing RGB formats"). Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- tests/util/pattern.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/util/pattern.c b/tests/util/pattern.c index f28fad311ec3de11..178aee8341a38920 100644 --- a/tests/util/pattern.c +++ b/tests/util/pattern.c @@ -764,11 +764,6 @@ static void fill_smpte(const struct util_format_info *info, void *planes[3], } } -/* swap these for big endian.. */ -#define RED 2 -#define GREEN 1 -#define BLUE 0 - static void make_pwetty(void *data, unsigned int width, unsigned int height, unsigned int stride, uint32_t format) {