From 4d3635fada9462a817f5d252b10349affde8e6f7 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Thu, 30 Jun 2022 16:35:31 +0200 Subject: [PATCH] util: remove unused definitions of RED, GREEN, and BLUE These are unused since commit edcef53685edf5fb ("modetest: Add test pattern support for missing RGB formats"). Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- v2: - Add Reviewed-by. --- tests/util/pattern.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/util/pattern.c b/tests/util/pattern.c index cf5c8e21..bd0989e6 100644 --- a/tests/util/pattern.c +++ b/tests/util/pattern.c @@ -766,11 +766,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) {