From: Dylan Baker Date: Thu, 6 Sep 2018 22:15:40 +0000 (-0700) Subject: mesa/main: delete now unused _mesa_little_endian X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39b9fe03a972f27b87bd9778371c93d04f60c49b;p=mesa.git mesa/main: delete now unused _mesa_little_endian Reviewed-by: Eric Engestrom --- 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 */