[PATCH libdrm] util: Remove unused definitions of RED, GREEN, and BLUE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These are unused since commit edcef53685edf5fb ("modetest: Add test
pattern support for missing RGB formats").

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
 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)
 {
-- 
2.25.1




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux