[Mesa-dev] [PATCH 1/4] mesa: remove unused function

Timothy Arceri timothy.arceri at collabora.com
Fri Mar 18 01:14:37 UTC 2016


---
 src/mesa/program/prog_parameter.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h
index c04d7a2..acc5b6c 100644
--- a/src/mesa/program/prog_parameter.h
+++ b/src/mesa/program/prog_parameter.h
@@ -99,12 +99,6 @@ _mesa_new_parameter_list_sized(unsigned size);
 extern void
 _mesa_free_parameter_list(struct gl_program_parameter_list *paramList);
 
-static inline GLuint
-_mesa_num_parameters(const struct gl_program_parameter_list *list)
-{
-   return list ? list->NumParameters : 0;
-}
-
 extern void
 _mesa_reserve_parameter_storage(struct gl_program_parameter_list *paramList,
                                 unsigned reserve_slots);
-- 
2.5.0



More information about the mesa-dev mailing list