Remove unused _mesa_memset16
authorMatt Turner <mattst88@gmail.com>
Fri, 20 Jul 2012 17:29:40 +0000 (10:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 21 Jul 2012 15:23:38 +0000 (08:23 -0700)
Unused since commit fd104a845.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/imports.c
src/mesa/main/imports.h

index e7e877be0029e4d1e99c9750b01fbb78de28b5a1..444de875cf7566ec50cfe17cbcbf0c6400fa117e 100644 (file)
@@ -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;
-}
-
 /*@}*/
 
 
index 254440093c5d68ac00c2b8ddca298682ec451999..0fc8f5509f9e7e7a3aa1cfe0177f19dc0f982774 100644 (file)
@@ -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