From b5dd8e0cf877db2adc249db8e132beeea79ba1cf Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 7 Jun 2016 17:33:35 +0100 Subject: [PATCH] mesa: remove unused function _mesa_map_static_functions() Unused as of commit 5a175127f38 ("dri: Remove all extension enabling utility functions") Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- src/mesa/main/remap.c | 20 -------------------- src/mesa/main/remap.h | 3 --- 2 files changed, 23 deletions(-) diff --git a/src/mesa/main/remap.c b/src/mesa/main/remap.c index 5a953877285..7c340265a03 100644 --- a/src/mesa/main/remap.c +++ b/src/mesa/main/remap.c @@ -154,26 +154,6 @@ _mesa_map_function_array(const struct gl_function_remap *func_array) } -/** - * Map the functions which are already static. - * - * When a extension function are incorporated into the ABI, the - * extension suffix is usually stripped. Mapping such functions - * makes sure the alternative names are available. - * - * Note that functions mapped by _mesa_init_remap_table() are - * excluded. - */ -void -_mesa_map_static_functions(void) -{ - /* Remap static functions which have alternative names and are in the ABI. - * This is to be on the safe side. glapi should have defined those names. - */ - _mesa_map_function_array(MESA_alt_functions); -} - - /** * Initialize the remap table. This is called in one_time_init(). * The remap table needs to be initialized before calling the diff --git a/src/mesa/main/remap.h b/src/mesa/main/remap.h index 9d91b83c1c2..3d8eab7dfef 100644 --- a/src/mesa/main/remap.h +++ b/src/mesa/main/remap.h @@ -50,9 +50,6 @@ _mesa_map_function_spec(const char *spec); extern void _mesa_map_function_array(const struct gl_function_remap *func_array); -extern void -_mesa_map_static_functions(void); - extern void _mesa_init_remap_table(void); -- 2.30.2