[Mesa-dev] [PATCH 4/4] Remove unused _mesa_memset16

Matt Turner mattst88 at gmail.com
Fri Jul 20 11:24:03 PDT 2012


Unused since commit fd104a845.
---
 src/mesa/main/imports.c |   13 -------------
 src/mesa/main/imports.h |    3 ---
 2 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index e7e877b..444de87 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -223,19 +223,6 @@ _mesa_realloc(void *oldBuffer, size_t oldSize, size_t newSize)
    return newBuffer;
 }
 
-/**
- * Fill memory with a constant 16bit word.
- * \param dst destination pointer.
- * \param val value.
- * \param n number of words.
- */
-void
-_mesa_memset16( unsigned short *dst, unsigned short val, size_t n )
-{
-   while (n-- > 0)
-      *dst++ = val;
-}
-
 /*@}*/
 
 
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 2544400..0fc8f55 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -558,9 +558,6 @@ _mesa_exec_free( void *addr );
 extern void *
 _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize );
 
-extern void
-_mesa_memset16( unsigned short *dst, unsigned short val, size_t n );
-
 
 #ifndef FFS_DEFINED
 #define FFS_DEFINED 1
-- 
1.7.8.6



More information about the mesa-dev mailing list