From 39b9fe03a972f27b87bd9778371c93d04f60c49b Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 6 Sep 2018 15:15:40 -0700 Subject: [PATCH] mesa/main: delete now unused _mesa_little_endian Reviewed-by: Eric Engestrom --- src/mesa/main/imports.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 41f28ad0f1e..7f10ecec810 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -285,18 +285,6 @@ _mesa_logbase2(GLuint n) } -/** - * Return 1 if this is a little endian machine, 0 if big endian. - */ -static inline GLboolean -_mesa_little_endian(void) -{ - const GLuint ui = 1; /* intentionally not static */ - return *((const GLubyte *) &ui); -} - - - /********************************************************************** * Functions */ -- 2.30.2