mesa/main: delete now unused _mesa_little_endian
authorDylan Baker <dylan@pnwbakers.com>
Thu, 6 Sep 2018 22:15:40 +0000 (15:15 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 5 Nov 2019 16:39:55 +0000 (16:39 +0000)
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/mesa/main/imports.h

index 41f28ad0f1ef78ca217e8704de3ff63915f8204a..7f10ecec810ccfadca58cf340cd706b66bc21c01 100644 (file)
@@ -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
  */