From: Matt Turner Date: Fri, 20 Jul 2012 17:29:40 +0000 (-0700) Subject: Remove unused _mesa_memset16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d24cf88a1a68591397d27efb209a7b8381911ce2;p=mesa.git Remove unused _mesa_memset16 Unused since commit fd104a845. Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- 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