summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-07-20 10:29:40 -0700
committerMatt Turner <[email protected]>2012-07-21 08:23:38 -0700
commitd24cf88a1a68591397d27efb209a7b8381911ce2 (patch)
treee7853e723a847d2e263f425a1aae1bbcbb939e39 /src
parentf58ba6ca9147137c7a2d31a1014235f7077b7752 (diff)
Remove unused _mesa_memset16
Unused since commit fd104a845. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/imports.c13
-rw-r--r--src/mesa/main/imports.h3
2 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index e7e877be002..444de875cf7 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 254440093c5..0fc8f5509f9 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