From d24cf88a1a68591397d27efb209a7b8381911ce2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 20 Jul 2012 10:29:40 -0700 Subject: [PATCH] Remove unused _mesa_memset16 Unused since commit fd104a845. Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- src/mesa/main/imports.c | 13 ------------- src/mesa/main/imports.h | 3 --- 2 files changed, 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 -- 2.30.2